diff --git a/scripts/apply.js b/scripts/apply.js index 320a93f..9a58aa1 100644 --- a/scripts/apply.js +++ b/scripts/apply.js @@ -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);