From 3a7ccd6a7fe4ed5e17de6560568e0b7b200709ed Mon Sep 17 00:00:00 2001 From: cycjimmy Date: Mon, 13 Jan 2020 16:53:47 +0800 Subject: [PATCH] fix(install): uninterrupted installation errors --- src/installSpecifyingVersionSemantic.task.js | 5 +---- src/preInstallPlugins.task.js | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/installSpecifyingVersionSemantic.task.js b/src/installSpecifyingVersionSemantic.task.js index ef74c1a..752961f 100644 --- a/src/installSpecifyingVersionSemantic.task.js +++ b/src/installSpecifyingVersionSemantic.task.js @@ -17,8 +17,5 @@ module.exports = async () => { cwd: path.resolve(__dirname, '..') }); core.debug(stdout); - - if (stderr) { - return Promise.reject(stderr); - } + core.error(stderr); }; diff --git a/src/preInstallPlugins.task.js b/src/preInstallPlugins.task.js index 7ea9c63..298a59c 100644 --- a/src/preInstallPlugins.task.js +++ b/src/preInstallPlugins.task.js @@ -22,8 +22,5 @@ module.exports = async () => { cwd: path.resolve(__dirname, '..') }); core.debug(stdout); - - if (stderr) { - return Promise.reject(stderr); - } + core.error(stderr); };