Skip to content
Browse files

Update graceful-fs to 1.1.5

Fix #2080
  • Loading branch information...
1 parent 8933ccd commit 760ac7782e2c098c8cd4811338093453012e9077 @isaacs isaacs committed Jan 23, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 node_modules/graceful-fs/graceful-fs.js
  2. +1 −1 node_modules/graceful-fs/package.json
View
2 node_modules/graceful-fs/graceful-fs.js
@@ -224,6 +224,7 @@ fs.fchownSync = chownFixSync(fs.fchownSync)
fs.lchownSync = chownFixSync(fs.lchownSync)
function chownFix (orig) {
+ if (!orig) return orig
return function (target, uid, gid, cb) {
return orig.call(fs, target, uid, gid, function (er, res) {
if (chownErOk(er)) er = null
@@ -233,6 +234,7 @@ function chownFix (orig) {
}
function chownFixSync (orig) {
+ if (!orig) return orig
return function (target, uid, gid) {
try {
return orig.call(fs, target, uid, gid)
View
2 node_modules/graceful-fs/package.json
@@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
"name": "graceful-fs",
"description": "fs monkey-patching to avoid EMFILE and other problems",
- "version": "1.1.4",
+ "version": "1.1.5",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-graceful-fs.git"

0 comments on commit 760ac77

Please sign in to comment.
Something went wrong with that request. Please try again.