Skip to content

Commit

Permalink
use nul for windows equivalent of /dev/null. Added nul to .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
stammen committed Nov 16, 2012
1 parent 48683fb commit 8776492
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.idea
nul
2 changes: 1 addition & 1 deletion bin/vows
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 8776492

Please sign in to comment.