Skip to content

Commit ffcff1e

Browse files
author
James Halliday
committed
formatting
1 parent 14ab9d1 commit ffcff1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/default_stream.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = function () {
55
var line = '';
66
var stream = through(write, flush);
77
return stream;
8-
8+
99
function write (buf) {
1010
for (var i = 0; i < buf.length; i++) {
1111
var c = typeof buf === 'string'
@@ -16,7 +16,7 @@ module.exports = function () {
1616
else line += c;
1717
}
1818
}
19-
19+
2020
function flush () {
2121
try { fs.writeSync(1, line + '\n'); }
2222
catch (e) { stream.emit('error', e) }

0 commit comments

Comments
 (0)