File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ function use-identity() {
2020 local auth_output
2121 if [ $# -eq 0 ]; then
2222 # No arguments: bring up the selector by passing --identity with no value
23- if ! auth_output=$( atmos auth env --identity 2>&1 ) ; then
24- echo " Error running atmos auth: $auth_output " >&2
23+ if ! auth_output=$( atmos auth env --identity) ; then
24+ echo " Error running atmos auth" >&2
2525 return 1
2626 fi
2727 else
2828 # Arguments provided: pass --identity=<value> with the first argument, then any additional flags
29- if ! auth_output=$( atmos auth env --identity=" $1 " " ${@: 2} " 2>&1 ) ; then
30- echo " Error running atmos auth: $auth_output " >&2
29+ if ! auth_output=$( atmos auth env --identity=" $1 " " ${@: 2} " ) ; then
30+ echo " Error running atmos auth" >&2
3131 return 1
3232 fi
3333 fi
You can’t perform that action at this time.
0 commit comments