From eba920326ad14b08a02f6fe44cee8bb6ae54d2d5 Mon Sep 17 00:00:00 2001 From: Farhan Yahya Date: Mon, 3 May 2021 02:41:07 +0000 Subject: [PATCH] fix: const task was already defined Changing the name of the predefined const tasks to prevent error in issue #1076 --- template/.electron-vue/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/.electron-vue/build.js b/template/.electron-vue/build.js index 9523ea1b..0b2b6597 100644 --- a/template/.electron-vue/build.js +++ b/template/.electron-vue/build.js @@ -38,8 +38,8 @@ async function build () { del.sync(['dist/electron/*', '!.gitkeep']) - const tasks = ['main', 'renderer'] - const m = new Multispinner(tasks, { + const process_tasks = ['main', 'renderer'] + const m = new Multispinner(process_tasks, { preText: 'building', postText: 'process' })