summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/fstream/lib/writer.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/fstream/lib/writer.js')
-rw-r--r--deps/npm/node_modules/fstream/lib/writer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/npm/node_modules/fstream/lib/writer.js b/deps/npm/node_modules/fstream/lib/writer.js
index 5599fb2222..8b1bbf94f0 100644
--- a/deps/npm/node_modules/fstream/lib/writer.js
+++ b/deps/npm/node_modules/fstream/lib/writer.js
@@ -246,6 +246,9 @@ function endUtimes (me, want, current, path, cb) {
Writer.prototype._finish = function () {
var me = this
+ if (me._finishing) return
+ me._finishing = true
+
// console.error(" W Finish", me._path, me.size)
// set up all the things.