Skip to content

Commit

Permalink
Clearer conditional in postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Mar 29, 2020
1 parent 7cb4ca8 commit 1220359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.en
let logLevel = process.env.npm_config_loglevel;
let logLevelDisplay = ['silent', 'error', 'warn'].indexOf(logLevel) > -1;

if (!envDisable && !logLevelDisplay) {
if (!(envDisable || logLevelDisplay)) {
console.log('Thank you for installing \u001b[35mEJS\u001b[0m: built with the \u001b[32mJake\u001b[0m JavaScript build tool (\u001b[32mhttps://jakejs.com/\u001b[0m\)\n');
}

Expand Down

0 comments on commit 1220359

Please sign in to comment.