Skip to content

Commit

Permalink
fix for gulpjs#202
Browse files Browse the repository at this point in the history
  • Loading branch information
doowb committed Aug 12, 2016
1 parent aaa3727 commit 4199abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/file-operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function worker(data, encoding, callback) {
return this.once('open', onOpen);
}

fs.write(this.fd, data, 0, data.length, this.pos, onWrite);
fs.write(this.fd, data, 0, data.length, null, onWrite);

function onOpen() {
self._write(data, encoding, callback);
Expand Down

0 comments on commit 4199abf

Please sign in to comment.