fix: replace deprecated str downcase/upcase with str lowercase/uppercase
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export def --env "pj uvthu" [] {
|
||||
let os_name = ($nu.os-info.name? | default "" | into string | str downcase)
|
||||
let os_name = ($nu.os-info.name? | default "" | into string | str lowercase)
|
||||
if not (($os_name | str contains "darwin") or ($os_name | str contains "macos")) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user