forked from karma-runner/karma
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: install log4js manually (on Node 0.10)
Workaround for https://github.com/isaacs/npm/issues/3305 This is cherry-picked commit from stable branch (707684b) Conflicts: package.json
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// workaround hack for https://github.com/isaacs/npm/issues/3305 | ||
|
||
var spawn = require('child_process').spawn; | ||
|
||
if (/0\.10/.test(process.versions.node)) { | ||
spawn('npm', ['install', 'log4js@0.6.1'], {stdio: 'inherit'}); | ||
} |
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