Skip to content

Commit dd12bf0

Browse files
killagulpinca
andauthored
Update lib/internal/fs/sync_write_stream.js
Co-authored-by: Luigi Pinca <[email protected]>
1 parent 021f107 commit dd12bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/fs/sync_write_stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SyncWriteStream.prototype._write = function(chunk, encoding, cb) {
2727
writeSync(this.fd, chunk, 0, chunk.length);
2828
} catch (e) {
2929
cb(e);
30-
return true;
30+
return;
3131
}
3232
cb();
3333
return true;

0 commit comments

Comments
 (0)