mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
Update conda.nu to use (sys host) rather than (sys).host (#839)
This commit is contained in:
parent
bb1fa35baa
commit
537d7fc4f4
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def conda-create-path-unix [env_dir: path] {
|
|||
}
|
||||
|
||||
def windows? [] {
|
||||
((sys).host.name | str downcase) == "windows"
|
||||
($nu.os-info.name | str downcase) == "windows"
|
||||
}
|
||||
|
||||
def system-path [] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue