Skip to content

Commit

Permalink
Merge pull request #839 from zickzackv/main
Browse files Browse the repository at this point in the history
fix: testing for AWS_SSO_PROFILE
  • Loading branch information
synfinatic authored Apr 30, 2024
2 parents aefdf0e + 3d4c727 commit 024224d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/helper/aws-sso.fish
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ end
function aws-sso-clear
set --local _args (string split -- ' ' $AWS_SSO_HELPER_ARGS)
set -q AWS_SSO_HELPER_ARGS; or set --local _args -L error
if [ -z "$AWS_PROFILE" ]
echo "AWS_PROFILE is not set"
if [ -z "$AWS_SSO_PROFILE" ]
echo "AWS_SSO_PROFILE is not set"
return 1
end
eval "$({{ .Executable }} $_args eval -c | string replace "unset" "set --erase" )"
Expand Down

0 comments on commit 024224d

Please sign in to comment.