fix deprecated syntax
This commit is contained in:
parent
9ba2fe405b
commit
7c83187907
1 changed files with 3 additions and 3 deletions
6
meat.nu
6
meat.nu
|
|
@ -173,7 +173,7 @@ def warm-pins [] {
|
|||
meat-print "GATHERING MEATS.."
|
||||
let failed = $names | par-each { |name| warm-pin $name ($lock | get $name) } | compact
|
||||
for name in $failed {
|
||||
meat-print $" COULDN'T GATHER ($name | str upcase) \(BUILD WILL RETRY\)"
|
||||
meat-print $" COULDN'T GATHER ($name | str uppercase) \(BUILD WILL RETRY\)"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -206,7 +206,7 @@ def cmd-hunt [...query: string] {
|
|||
return
|
||||
}
|
||||
let q = $query | str join " "
|
||||
meat-print $"HUNTING FOR ($q | str upcase).."
|
||||
meat-print $"HUNTING FOR ($q | str uppercase).."
|
||||
let body = {
|
||||
from: 0,
|
||||
size: 20,
|
||||
|
|
@ -305,7 +305,7 @@ def main [...args: string] {
|
|||
"fresh" => { cmd-fresh ...$rest }
|
||||
"hunt" => { cmd-hunt ...$rest }
|
||||
"ritual" => { cmd-ritual }
|
||||
"shelter" => { cmd-shelter $rest }
|
||||
"shelter" => { cmd-shelter ($rest | first) }
|
||||
_ => { cmd-help }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue