Browse Source

typo: forceClose -> destroy for WriteStreams

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
3c00ec4e48
  1. 2
      lib/fs.js

2
lib/fs.js

@ -945,7 +945,7 @@ WriteStream.prototype.forceClose = function (cb) {
};
WriteStream.prototype.forceClose = function (cb) {
WriteStream.prototype.destroy = function (cb) {
this.writeable = false;
fs.close(self.fd, function(err) {
if (err) {

Loading…
Cancel
Save