Skip to content

Commit

Permalink
FIXUP
Browse files Browse the repository at this point in the history
  • Loading branch information
ddriddle committed Oct 28, 2024
1 parent e5326ca commit d414e4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ python-exec-path:

aws_debug: export PATH:=$(PWD)/venv.v2/$(VBIN):$(PATH)
aws_debug: venv.v2
aws configure set plugins.login awscli_login
aws configure set plugins.cli_legacy_plugin_path $$(pip show awscli-login | sed -nr 's/^Location: (.*)/\1/p')
aws login --aws-debug

integration-tests-v2: export AWSCLI_TEST_V2:=1
Expand Down
2 changes: 2 additions & 0 deletions src/awscli_login/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def _run_main(self, args: Namespace, parsed_globals):
if args.aws_debug:
version_info()
return 0
else:
del args.aws_debug

cmd = ["aws-login", f"--{self.NAME}", tmp.name]
if self._session.profile:
Expand Down

0 comments on commit d414e4a

Please sign in to comment.