Skip to content

Commit

Permalink
used graceful-fs instead of fs
Browse files Browse the repository at this point in the history
to queue files if EMFILE error is raised
  • Loading branch information
Mostafa-Samir committed Apr 15, 2016
1 parent 257cd03 commit 75c200e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/ZipExport.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var fs = require('fs');
var fs = require('graceful-fs');
var path = require('path');
var async = require('async');
var ZippedFS = require('./ZippedFS.js');
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var fs = require('fs');
var fs = require('graceful-fs');
var path = require('path');
var JSZip = require('jszip');
var Q = require('q');
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"type": "MIT",
"url": "https://github.com/Mostafa-Samir/zip-local/blob/master/LICENSE"
},
"bugs" : {
"bugs": {
"url": "https://github.com/Mostafa-Samir/zip-local/issues"
},
"repository": {
Expand All @@ -35,6 +35,7 @@
},
"dependencies": {
"async": "^1.4.2",
"graceful-fs": "^4.1.3",
"jszip": "^2.5.0",
"q": "^1.4.1"
},
Expand Down

0 comments on commit 75c200e

Please sign in to comment.