Skip to content
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

ref(cli): Add better error message when powershell is missing during upgrade #17759

Merged
merged 2 commits into from
Feb 16, 2023
Merged

ref(cli): Add better error message when powershell is missing during upgrade #17759

merged 2 commits into from
Feb 16, 2023

Conversation

kamilogorek
Copy link
Contributor

Closes #17756

Copy link
Collaborator

@aapoalas aapoalas left a comment

Choose a reason for hiding this comment

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

Nice

if err.kind() == std::io::ErrorKind::NotFound {
std::io::Error::new(
std::io::ErrorKind::NotFound,
"`powershell.exe` was not found on your PATH",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nitpick: in PATH

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy-pasted from your other error message 🌝

@aapoalas aapoalas merged commit 6e1b737 into denoland:main Feb 16, 2023
@aapoalas
Copy link
Collaborator

Thank you!

@kamilogorek kamilogorek deleted the update-log branch February 17, 2023 11:21
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.

Deno upgrade error: program not found
2 participants