From 31e3746d175071af9119ba5f2580cfaf8c9029cf Mon Sep 17 00:00:00 2001 From: Paul Stresow Date: Tue, 25 Aug 2020 11:47:12 +0200 Subject: [PATCH] removed deferral call --- scripts/apply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);