From 12770fad63cdaa1c9acc796bf9a962b4ed1cf7a5 Mon Sep 17 00:00:00 2001 From: tunnckoCore Date: Thu, 10 Aug 2017 11:29:10 +0300 Subject: [PATCH] fix(task): renovate task to use __dirname TAG: latest --- tasks/renovate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/renovate.js b/tasks/renovate.js index d0295306..6b854cf0 100644 --- a/tasks/renovate.js +++ b/tasks/renovate.js @@ -16,7 +16,7 @@ module.exports = ({ app }) => { const newConfig = helaFolder === process.cwd() ? path.join(helaFolder, 'renovate.json') - : path.join(helaFolder, '..', '..', 'renovate.json') + : path.join(__dirname, '..', '..', 'renovate.json') const onerror = (er) => app.emit('error', er)