We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c6633d commit 4221a19Copy full SHA for 4221a19
lib/fileinfo.js
@@ -37,9 +37,10 @@ module.exports = function (options) {
37
}
38
39
//Touch the file to be sure. Synchronous to have this done before the emit of 'begin' happens
40
+ var touchFile = options.baseDir() + '/' + this.name;
41
mkdirp(options.baseDir(), function (err) {
42
if (err) {}
- else {fs.closeSync(fs.openSync(options.baseDir() + '/' + this.name, 'w'));}
43
+ else {fs.closeSync(fs.openSync(touchFile, 'w'));}
44
});
45
};
46
0 commit comments