diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-03-27 22:45:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 23:45:57 +0100 |
commit | d31f2307eee6e2a0f96342a58159d265ea03c58e (patch) | |
tree | 539454dff6a5b8e7908610e76fa597a25668439a /cli/tools/doc.rs | |
parent | 2dc37f411e8947d3c20cd93d1fa1937edc239499 (diff) |
feat(install): require -g / --global flag (#23060)
In preparation for upcoming changes to `deno install` in Deno 2.
If `-g` or `--global` flag is not provided a warning will be emitted:
```
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use `-g` or `--global` flag.
```
The same will happen for `deno uninstall` - unless `-g`/`--global` flag
is provided
a warning will be emitted.
Towards https://github.com/denoland/deno/issues/23062
---------
Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Diffstat (limited to 'cli/tools/doc.rs')
0 files changed, 0 insertions, 0 deletions