Skip to content

Commit

Permalink
Revert "Add workaround for hanged console after authentication"
Browse files Browse the repository at this point in the history
This reverts commit ad5b811.
  • Loading branch information
ruimarinho committed Mar 2, 2021
1 parent cee20b2 commit 2d4772b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,6 @@ async function formatOutput(awsSharedCredentialsFile, awsProfile, format = null)
logger.debug(`Request to "${request.url()}" matches AWS console which means authentication was successful`);

await context.close();

if (argv.headful) {
// Workaround for a new behaviour introduced with playwright 1.8+ and node 14+ where
// the closing the context won't terminate the headful process.
process.exit(0);
}
return;
}
});
Expand Down

0 comments on commit 2d4772b

Please sign in to comment.