Skip to content

Commit

Permalink
Merge pull request npm#7 from isaacs/master
Browse files Browse the repository at this point in the history
actually depend on graceful-fs
  • Loading branch information
ForbesLindesay committed Sep 5, 2014
2 parents 3c6ae74 + bfde441 commit 6f53d50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@
module.exports = cmdShim
cmdShim.ifExists = cmdShimIfExists

try {
var fs = require("graceful-fs")
} catch (e) {
var fs = require("fs")
}
var fs = require("graceful-fs")

var mkdir = require("mkdirp")
, path = require("path")
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@
"url": "https://github.com/ForbesLindesay/cmd-shim.git"
},
"license": "BSD",
"optionalDependencies": {
"graceful-fs": "2"
},
"dependencies": {
"graceful-fs": "^3.0.2",
"graceful-fs": ">3.0.1 <4.0.0-0",
"mkdirp": "~0.5.0"
},
"devDependencies": {
"tap": "~0.4.11",
"rimraf": "~2.2.8"
}
}
}

0 comments on commit 6f53d50

Please sign in to comment.