diff --git a/lib/storage.js b/lib/storage.js index b7831ce..12149dc 100755 --- a/lib/storage.js +++ b/lib/storage.js @@ -92,7 +92,6 @@ storage.crashSafeWriteFile = function (filename, data, cb) { storage.rename(tempFilename, filename, function (err) { return cb(err); }); } , async.apply(storage.flushToStorage, { filename: path.dirname(filename), isDir: true }) - , async.apply(storage.ensureFileDoesntExist, tempFilename) ], function (err) { return callback(err); }) };