1
Fork 0
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:
Darren Schroeder 2023-01-18 08:20:30 -06:00 committed by GitHub
parent 62a3cd13e1
commit 6471266bd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 } }
} }