mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
fixed a type-o in the weather script (#348)
This commit is contained in:
parent
62a3cd13e1
commit
6471266bd9
1 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ def get_location_by_ip [locIdx: int, token: string] {
|
||||||
fetch $url
|
fetch $url
|
||||||
}
|
}
|
||||||
|
|
||||||
def show-error [msg label err] { 07/02/2022 09:24:44 AM
|
def show-error [msg label err] {
|
||||||
let span = (metadata $err).span;
|
let span = (metadata $err).span;
|
||||||
error make {msg: $msg, label: {text: $label, start: $span.start, end: $span.end } }
|
error make {msg: $msg, label: {text: $label, start: $span.start, end: $span.end } }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue