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

fix(future): Emit deno install warning less often, suggest deno install in error message #24706

Merged
merged 5 commits into from
Jul 24, 2024

Conversation

nathanwhit
Copy link
Member

Two small changes:

  • In our BYONM errors, suggest running deno install instead of npm install if DENO_FUTURE is set
  • Only emit warning about deno install changes if you do deno install <foo> with deno_future unset

@nathanwhit nathanwhit changed the title chore): Emit deno install warning less often, suggest deno install in error chore: Emit deno install warning less often, suggest deno install in error message Jul 24, 2024
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM!

@dsherret dsherret changed the title chore: Emit deno install warning less often, suggest deno install in error message fix(future): Emit deno install warning less often, suggest deno install in error message Jul 24, 2024
@nathanwhit nathanwhit enabled auto-merge (squash) July 24, 2024 23:17
@nathanwhit nathanwhit merged commit 795ed23 into denoland:main Jul 24, 2024
17 checks passed
dsherret pushed a commit that referenced this pull request Jul 26, 2024
…stall` in error message (#24706)

Two small changes:

- In our BYONM errors, suggest running `deno install` instead of `npm
install` if `DENO_FUTURE` is set
- Only emit warning about `deno install` changes if you do `deno install
<foo>` with deno_future unset
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.

2 participants