diff --git a/lib/Open/index.js b/lib/Open/index.js index fcae81d..f6c4068 100644 --- a/lib/Open/index.js +++ b/lib/Open/index.js @@ -1,4 +1,4 @@ -var fs = require('fs'); +var fs = require('graceful-fs'); var Promise = require('bluebird'); var directory = require('./directory'); var Stream = require('stream'); diff --git a/package.json b/package.json index dbe8121..ba14371 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "buffer-indexof-polyfill": "~1.0.0", "duplexer2": "~0.1.4", "fstream": "^1.0.12", + "graceful-fs": "^4.2.2", "listenercount": "~1.0.1", "readable-stream": "~2.3.6", "setimmediate": "~1.0.4"