graceful-fs
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -131,3 +131,3 @@ // Monkey-patching the fs module. | ||
var code = er.code | ||
var tryAgain = code === "EMFILE" | ||
var tryAgain = code === "EMFILE" || code === "ENFILE" | ||
if (process.platform === "win32") | ||
@@ -134,0 +134,0 @@ tryAgain = tryAgain || code === "OK" |
@@ -5,3 +5,3 @@ { | ||
"description": "A drop-in replacement for fs, making various improvements.", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"repository": { | ||
@@ -41,4 +41,4 @@ "type": "git", | ||
"rimraf": "^2.2.8", | ||
"tap": "^0.4.13" | ||
"tap": "^1.2.0" | ||
} | ||
} |
@@ -43,3 +43,3 @@ var test = require('tap').test | ||
if (fds.length === 0) { | ||
//console.error('done called %d times', doneCalled) | ||
console.error('done called %d times', doneCalled) | ||
// First because of the timeout | ||
@@ -50,3 +50,3 @@ // Then to close the fd's opened afterwards | ||
// and ulimit, but at least 3 in every case. | ||
t.ok(doneCalled >= 3) | ||
t.ok(doneCalled >= 2) | ||
return t.end() | ||
@@ -53,0 +53,0 @@ } |
@@ -7,2 +7,4 @@ var fs = require('../'); | ||
process.chdir(__dirname) | ||
// Make sure to reserve the stderr fd | ||
@@ -9,0 +11,0 @@ process.stderr.write(''); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16351
506