Skip to content

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

Merged
ethanndickson merged 1 commit into
mainfrom
ethan/fix-windows-probing
Apr 14, 2025
Merged

fix: use a more generic powershell error fragment for Windows probing#2
ethanndickson merged 1 commit into
mainfrom
ethan/fix-windows-probing

Conversation

@ethanndickson
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Comment thread pkg/process/errors.go
// 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
Copy Markdown
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