summaryrefslogtreecommitdiffstats
path: root/lib/generate
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generate')
-rw-r--r--lib/generate/ebook/index.js2
-rw-r--r--lib/generate/fs.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/generate/ebook/index.js b/lib/generate/ebook/index.js
index e3d3db4..3ca53f9 100644
--- a/lib/generate/ebook/index.js
+++ b/lib/generate/ebook/index.js
@@ -4,7 +4,7 @@ var Q = require("q");
var _ = require("lodash");
var exec = require('child_process').exec;
-var fs = require("fs");
+var fs = require('graceful-fs');
var parse = require("../../parse");
var BaseGenerator = require("../page");
var stringUtils = require("../../utils/string");
diff --git a/lib/generate/fs.js b/lib/generate/fs.js
index 90cbc8a..464c2cc 100644
--- a/lib/generate/fs.js
+++ b/lib/generate/fs.js
@@ -1,5 +1,5 @@
var Q = require("q");
-var fs = require("fs");
+var fs = require('graceful-fs');
var fsExtra = require("fs-extra");
var Ignore = require("fstream-ignore");