Skip to content

Commit

Permalink
[APM] await promise in setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Dec 4, 2019
1 parent a60b557 commit 7ce0a37
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ async function init() {
return;
}

if (!isSecurityEnabled()) {
const isEnabled = await isSecurityEnabled();
if (!isEnabled) {
console.log('Security must be enabled!');
return;
}
Expand Down

0 comments on commit 7ce0a37

Please sign in to comment.