Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwoodworth committed Sep 19, 2023
1 parent c63d17a commit e9cd5e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/cleanup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function exportAccountId(
if (!accountId) {
throw new Error('Could not get Account ID from STS. Did you set credentials?');
}
if (allowedAccountIds !== accountId) {
if (allowedAccountIds && allowedAccountIds !== accountId) {
throw new Error('Account ID does not match the expected value.');
}
if (maskAccountId) {
Expand Down

0 comments on commit e9cd5e9

Please sign in to comment.