0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 12:16:11 -05:00
denoland-deno/tests/specs/cert
Luka Leer 64b3a2d9f8
fix(cli): do not create bin folder within DENO_INSTALL_ROOT
As can be seen in the documentation, `DENO_INSTALL_ROOT` is meant to be the folder wherein Deno will install executables, with the default being `$HOME/.deno/bin`.

However, the current behaviour of the `install` and `uninstall` commands, if `DENO_INSTALL_ROOT` is set, is to still append "bin" to the path. This leads to executables being installed in a folder like `$HOME/.deno/bin/bin`, which is obviously not the intended behaviour.

This commit removes this appending. Do note that this is a breaking change in the behaviour of the `--root` flag, as previously it referred to a folder wherein the `bin` folder was located, but now it refers to the `bin` folder itself. For example: `deno install --root /foo/bar test.ts` would previously install the executable in `/foo/bar/bin/test`, but now it will install it in `/foo/bar/test`.
2024-12-26 16:13:26 +01:00
..
cafile_compile chore: move cert itests to spec tests (#23607) 2024-05-03 00:43:12 +00:00
cafile_env_fetch chore: move cert itests to spec tests (#23607) 2024-05-03 00:43:12 +00:00
cafile_install fix(cli): do not create bin folder within DENO_INSTALL_ROOT 2024-12-26 16:13:26 +01:00
cafile_ts_fetch feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
cafile_ts_fetch_unsafe_ssl chore: move cert itests to spec tests (#23607) 2024-05-03 00:43:12 +00:00
cafile_url_imports feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
cafile_url_imports_unsafe_ssl feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
deno_land_unsafe_ssl chore: move cert itests to spec tests (#23607) 2024-05-03 00:43:12 +00:00
ip_address_unsafe_ssl chore: move cert itests to spec tests (#23607) 2024-05-03 00:43:12 +00:00
localhost_unsafe_ssl refactor: extract out FileFetcher to deno_cache_dir (#27263) 2024-12-16 23:39:40 +00:00