Skip to content

Commit

Permalink
chore(deps): improve the hack for installing log4js
Browse files Browse the repository at this point in the history
I'm really getting tired of this crap...
  • Loading branch information
vojtajina committed Apr 2, 2013
1 parent f03e94d commit 39f9d66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install-log4js.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
var spawn = require('child_process').spawn;

if (/0\.10/.test(process.versions.node)) {
spawn('npm', ['install', 'log4js@0.6.1'], {stdio: 'inherit'});
spawn('npm', ['install', 'log4js@0.6.2'], {stdio: 'inherit'});
} else if (/0\.8/.test(process.versions.node)) {
spawn('npm', ['install', 'log4js@0.5.8'], {stdio: 'inherit'});
}

0 comments on commit 39f9d66

Please sign in to comment.