mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 23:55:20 +00:00
Fix generate.file method
This commit is contained in:
@@ -158,7 +158,7 @@ var generateFile = function(options) {
|
||||
extension: null
|
||||
});
|
||||
|
||||
Q.nfcall(tmp.dir)
|
||||
return Q.nfcall(tmp.dir)
|
||||
.then(function(tmpDir) {
|
||||
return generate(
|
||||
_.extend({},
|
||||
@@ -203,7 +203,7 @@ var generateFile = function(options) {
|
||||
return fs.remove(tmpDir);
|
||||
});
|
||||
});
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user