Permalink
Browse files

use nul for windows equivalent of /dev/null. Added nul to .gitignore

  • Loading branch information...
1 parent 48683fb commit 8776492e17cd252204ba1a7f6062a2b7d6763405 @stammen stammen committed Nov 16, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 bin/vows
View
1 .gitignore
@@ -1,2 +1,3 @@
node_modules
.idea
+nul
View
2 bin/vows
@@ -191,7 +191,7 @@ if (options.supressStdout) {
var devNullStream = null;
if(process.platform === 'win32'){
- devNullStream = fs.createWriteStream('./NULL');
+ devNullStream = fs.createWriteStream('nul');
} else {
devNullStream = fs.createWriteStream('/dev/null');
}

0 comments on commit 8776492

Please sign in to comment.