Skip to content

fix: use a more generic powershell error fragment for Windows probing #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Apr 11, 2025

Closes coder/internal#566

Very very funny to me that someone at Microsoft changed this error message, especially the "a name" <=> "the name".

File sync working:
image

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson marked this pull request as ready for review April 11, 2025 05:03
Copy link
Member Author

ethanndickson commented Apr 14, 2025

Merge activity

  • Apr 14, 3:55 AM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Apr 14, 3:55 AM EDT: A user merged this pull request with Graphite.

@ethanndickson ethanndickson merged commit 764d30f into main Apr 14, 2025
14 of 15 checks passed
@@ -23,7 +23,10 @@ const (
// windowsPowershellCommandNotFoundFragment is a fragment of the error output
// returned on Windows systems running Powershell when a command cannot be
// found.
windowsPowershellCommandNotFoundFragment = "is not recognized as the name of a cmdlet, function, script file, or operable program."
// Different Windows versions use slightly error messages.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Different Windows versions use slightly error messages.
// Different Windows versions use slightly different error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coder Desktop File Sync does not work against Windows workspaces
4 participants