removed deferral call

This commit is contained in:
Paul Stresow
2020-08-25 11:47:12 +02:00
parent 98a1389704
commit 31e3746d17

View File

@@ -18,7 +18,7 @@ module.exports = context => {
if (!fs.existsSync(startPath)) {
console.log("no dir ", startPath);
deferral.reject(new Error("folder " + startPath + " does not exist"))
return reject(new Error("folder " + startPath + " does not exist"))
}
var files = fs.readdirSync(startPath);