diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-09-05 02:27:02 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-09-05 02:27:02 -0700 |
commit | 3c00ec4e484da4b607f65fc56f997fe929254bc1 (patch) | |
tree | d243d12dc809b678414918426134033b38a79144 | |
parent | cda1a384260886b5cf84056885dfc9169441248e (diff) | |
download | node-new-3c00ec4e484da4b607f65fc56f997fe929254bc1.tar.gz |
typo: forceClose -> destroy for WriteStreams
-rw-r--r-- | lib/fs.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |