Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pkg/process/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.

// i.e. "is not recognized as the name of a cmdlet, function, script file, or operable program."
// "is not recognized as a name of a cmdlet, function, script file, or executable program."
windowsPowershellCommandNotFoundFragment = "cmdlet, function, script file, or"
)

// OutputIsPOSIXCommandNotFound returns whether or not a process' error output
Expand Down
Loading