Skip to content

Commit

Permalink
closes #91
Browse files Browse the repository at this point in the history
  • Loading branch information
cmawhorter committed Jun 10, 2020
1 parent a31659a commit 5e05bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const loadAccountId = async () => {
else {
const accountId = await getAwsAccountId();
writeAppData('aws.json', Object.assign({}, result, {
[profile]: Object.assign({}, result[profile], { accountId })
[profile]: Object.assign({}, (result || {})[profile], { accountId })
}));
return accountId;
}
Expand Down

0 comments on commit 5e05bb0

Please sign in to comment.