From 7d2c065e81b9ca73506c933c663be68b30d2d92e Mon Sep 17 00:00:00 2001 From: Shigma <33423008+Shigma@users.noreply.github.com> Date: Sat, 2 Mar 2019 23:16:08 +0800 Subject: [PATCH] fix($core): skip plugin on error (Related to #1371) #1383 --- packages/@vuepress/core/lib/plugin-api/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@vuepress/core/lib/plugin-api/index.js b/packages/@vuepress/core/lib/plugin-api/index.js index a887fe7dd9..b43a06c62c 100644 --- a/packages/@vuepress/core/lib/plugin-api/index.js +++ b/packages/@vuepress/core/lib/plugin-api/index.js @@ -88,6 +88,7 @@ module.exports = class PluginAPI { plugin = this.normalizePlugin(pluginRaw, pluginOptions) } catch (e) { logger.warn(e.message) + return this } }