mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-17 01:10:36 +03:00
fix weather script
This commit is contained in:
parent
2503468725
commit
6f1c0dfef2
@ -50,7 +50,7 @@ def get_location_by_ip [locIdx: int, token: string] {
|
||||
|
||||
def show-error [msg label err] {
|
||||
let span = (metadata $err).span;
|
||||
error make {msg: $msg, label: {text: $label, span: $span } } }
|
||||
error make {msg: $msg, label: {text: $label, span: $span } }
|
||||
}
|
||||
|
||||
def get_weather_by_ip [locIdx: int, units: string, token: string] {
|
||||
|
Loading…
Reference in New Issue
Block a user