File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export def main [
2020 let raw = $input_str | bash-env-json ... ($fn_args ++ $path_args ) | complete
2121 let raw_json = $raw.stdout | from json
2222
23- let error = $raw_json | get - i error
23+ let error = $raw_json | get - o error
2424 if $error != null {
2525 error make { msg : $error }
2626 } else if $raw.exit_code != 0 {
@@ -29,7 +29,7 @@ export def main [
2929
3030 if ($export | is-not-empty ) {
3131 print " warning: --export is deprecated, use --shellvars(-s) instead"
32- let exported_shellvars = ($raw_json.shellvars | select - i ... $export )
32+ let exported_shellvars = ($raw_json.shellvars | select - o ... $export )
3333 $raw_json.env | merge ($exported_shellvars )
3434 } else if $shellvars or ($fn | is-not-empty ) {
3535 $raw_json
You can’t perform that action at this time.
0 commit comments