Switch from fs to graceful-fs

This commit is contained in:
silverwind 2014-01-23 00:43:05 +01:00
parent 65e80e5788
commit 64cc1ce056
2 changed files with 11 additions and 10 deletions

View file

@ -11,7 +11,7 @@
* ~ Ryan McGrath (ryan [at] venodesigns.net) * ~ Ryan McGrath (ryan [at] venodesigns.net)
*/ */
var fs = require("fs"), var fs = require("graceful-fs"),
_path = require("path"), _path = require("path"),
isWindows = !!process.platform.match(/^win/); isWindows = !!process.platform.match(/^win/);

View file

@ -18,6 +18,7 @@
}, },
"dependencies": { "dependencies": {
"graceful-fs": "~2.0.1"
}, },
"devDependencies": { "devDependencies": {
@ -27,7 +28,7 @@
"main": "./lib/wrench", "main": "./lib/wrench",
"engines": { "engines": {
"node": ">=0.1.97" "node": ">=0.4.0"
}, },
"scripts": { "test": "nodeunit tests/runner.js" }, "scripts": { "test": "nodeunit tests/runner.js" },