diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-07-24 16:37:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 23:37:13 +0000 |
commit | 795ed23b356dc044cfb497a6189d588604a6c335 (patch) | |
tree | b1e53bac1b69cab4ff0f3da181426bbf024be457 /tests/integration/install_tests.rs | |
parent | 1fad6eb2acc993714fad9d333f409495f5b3d6db (diff) |
fix(future): Emit `deno install` warning less often, suggest `deno install` 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
Diffstat (limited to 'tests/integration/install_tests.rs')
-rw-r--r-- | tests/integration/install_tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/install_tests.rs b/tests/integration/install_tests.rs index 32c0e9080..744f97493 100644 --- a/tests/integration/install_tests.rs +++ b/tests/integration/install_tests.rs @@ -109,7 +109,7 @@ fn install_basic_global() { let output_text = output.combined_output(); assert_not_contains!( output_text, - "`deno install` behavior will change in Deno 2. To preserve the current behavior use `-g` or `--global` flag." + "`deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag." ); // no lockfile should be created locally |