Skip to content

Commit a555c1c

Browse files
author
Yvonne Yip
committed
test: use alternate node .tmp directory
1 parent 7e88dc1 commit a555c1c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

tasks/override-chrome-launcher.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ module.exports = function(grunt) {
88
if (os === 'Darwin') {
99
var exec = require('child_process').exec;
1010
var cb = this.async();
11-
exec('npm install git://github.com/morethanreal/karma-chrome-launcher', null, function(err, stdout, stderr) {
12-
console.log(stdout);
13-
console.log(stderr);
14-
cb();
15-
});
11+
exec('npm install --tmp ../.tmp git://github.com/morethanreal/karma-chrome-launcher',
12+
null, function(err, stdout, stderr) {
13+
console.log(stdout);
14+
console.log(stderr);
15+
cb();
16+
});
1617
}
1718
});
1819
};

0 commit comments

Comments
 (0)