single-line-log
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -14,5 +14,7 @@ var MOVE_LEFT = new Buffer('1b5b3130303044', 'hex').toString(); | ||
process.on('exit', function() { | ||
if (str !== null) stream.write(''); | ||
}); | ||
if (stream === process.stderr || stream === process.stdout) { | ||
process.on('exit', function() { | ||
if (str !== null) stream.write(''); | ||
}); | ||
} | ||
@@ -19,0 +21,0 @@ var prevLineCount = 0; |
@@ -17,3 +17,3 @@ { | ||
], | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": "git://github.com/freeall/single-line-log.git", | ||
@@ -20,0 +20,0 @@ "license": "MIT", |
2960
47