mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
DENO_ROOT_INSTALL fix
This commit is contained in:
parent
bee1477807
commit
5d9af87c84
1 changed files with 6 additions and 1 deletions
|
@ -438,7 +438,12 @@ async fn resolve_shim_data(
|
||||||
} else {
|
} else {
|
||||||
get_installer_root()?
|
get_installer_root()?
|
||||||
};
|
};
|
||||||
let installation_dir = root.join("bin");
|
|
||||||
|
let installation_dir = if !root.ends_with("bin") {
|
||||||
|
root.join("bin")
|
||||||
|
} else {
|
||||||
|
root
|
||||||
|
};
|
||||||
|
|
||||||
// Check if module_url is remote
|
// Check if module_url is remote
|
||||||
let module_url = resolve_url_or_path(&install_flags_global.module_url, &cwd)?;
|
let module_url = resolve_url_or_path(&install_flags_global.module_url, &cwd)?;
|
||||||
|
|
Loading…
Reference in a new issue