1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 22:57:46 +00:00

use typos for corrections (#833)

I used [typos](https://github.com/crate-ci/typos/).
I manually checked all the corrections and they seem safe to me.
There are still some left, but those in this PR are good
This commit is contained in:
Maxim Uvarov 2024-05-08 19:47:54 +08:00 committed by GitHub
parent a0aa600153
commit afde2592a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 102 additions and 90 deletions

View file

@ -101,7 +101,7 @@ def check-if-env-exists [ env_name: string, conda_info: record ] {
let en = ($env_dirs | each {|en| $conda_info.envs | where $it == $en } | where ($it | length) == 1 | flatten)
if ($en | length) > 1 {
error make --unspanned {msg: $"You have enviroments in multiple locations: ($en)"}
error make --unspanned {msg: $"You have environments in multiple locations: ($en)"}
}
if ($en | length) == 0 {
error make --unspanned {msg: $"Could not find given environment: ($env_name)"}

View file

@ -122,7 +122,7 @@ def check-if-env-exists [ env_name: string, conda_info: record ] {
let en = ($env_dirs | each {|en| $conda_info.envs | where $it == $en } | where ($it | length) == 1 | flatten)
if ($en | length) > 1 {
error make --unspanned {msg: $"You have enviroments in multiple locations: ($en)"}
error make --unspanned {msg: $"You have environments in multiple locations: ($en)"}
}
if ($en | length) == 0 {
error make --unspanned {msg: $"Could not find given environment: ($env_name)"}