Fix generate.file method

This commit is contained in:
Samy Pessé
2014-04-14 18:56:20 +02:00
parent 1b147d3e30
commit e4fa8aaca7
+2 -2
View File
@@ -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 = {