-
Notifications
You must be signed in to change notification settings - Fork 844
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env node | ||
|
||
function isTrue(value) { | ||
return !!value && value !== '0' && value !== 'false'; | ||
} | ||
|
||
let envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.env.CI); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
let logLevel = process.env.npm_config_loglevel; | ||
let logLevelDisplay = ['silent', 'error', 'warn'].indexOf(logLevel) > -1; | ||
|
||
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'); | ||
} | ||
|
||
|
Introducing
let
requires consumers to drop support for older node versions.For example, nodeunit is now failing in several projects which use older node:
https://travis-ci.org/github/caolan/nodeunit/jobs/710077156
Ideally it should be not be done on a patch version v2.7.2...v2.7.3 since most repos will automatically pull those in