0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-09 13:49:37 -04:00
deno/tests/specs/cert/cafile_install
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
..
__test__.jsonc fix(cli): do not create bin folder within DENO_INSTALL_ROOT 2024-12-26 16:13:26 +01:00
RootCA.pem chore: move cert itests to spec tests (#23607) 2024-05-03 00:43:12 +00:00