From 19a51eac336f577224f40dcc8beeae320d1a1814 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 6 Jan 2022 07:21:44 -0600 Subject: [PATCH] updated `into column_path` to `into column-path` --- weather/get-weather.nu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/weather/get-weather.nu b/weather/get-weather.nu index 89ff25b..2c8c8d9 100644 --- a/weather/get-weather.nu +++ b/weather/get-weather.nu @@ -23,18 +23,18 @@ def get_my_location [index: int] { if ($city_column | str length) > 1 { if ($state_column | str length) > 1 { if ($country_column | str length) > 1 { - let lookup_state = ($loc_json | get ($state_column | into column_path)) + let lookup_state = ($loc_json | get ($state_column | into column-path)) if ($lookup_state | str length) > 2 { let state = (state_abbrev_lookup $lookup_state) - $"($loc_json | get ($city_column | into column_path)),($state),($loc_json | get ($country_column | into column_path))" + $"($loc_json | get ($city_column | into column-path)),($state),($loc_json | get ($country_column | into column-path))" } { - $"($loc_json | get ($city_column | into column_path)),($loc_json | get ($state_column | into column_path)),($loc_json | get ($country_column | into column_path))" + $"($loc_json | get ($city_column | into column-path)),($loc_json | get ($state_column | into column-path)),($loc_json | get ($country_column | into column-path))" } } { - $"($loc_json | get ($city_column | into column_path)),($loc_json | get ($state_column | into column_path))" + $"($loc_json | get ($city_column | into column-path)),($loc_json | get ($state_column | into column-path))" } } { - $"($loc_json | get ($city_column | into column_path))" + $"($loc_json | get ($city_column | into column-path))" } } { "No City Found"