mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-10-26 22:08:03 +03:00
Fix: nushell at 0.88.0 start and end are deprecated (#698)
This resolves: #697
This commit is contained in:
parent
af92dca520
commit
2503468725
@ -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, start: $span.start, end: $span.end } }
|
||||
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