mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
64b3a2d9f8
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`. |
||
---|---|---|
.. | ||
cafile_compile | ||
cafile_env_fetch | ||
cafile_install | ||
cafile_ts_fetch | ||
cafile_ts_fetch_unsafe_ssl | ||
cafile_url_imports | ||
cafile_url_imports_unsafe_ssl | ||
deno_land_unsafe_ssl | ||
ip_address_unsafe_ssl | ||
localhost_unsafe_ssl |