mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue