From e2d73702cdd648452344a1be6df989b953faf949 Mon Sep 17 00:00:00 2001 From: CHaBou Date: Sun, 1 Oct 2017 06:08:42 +0200 Subject: [PATCH] Fix plugin requiring to authorize @ in config (#2312) Fix #2311 --- app/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins.js b/app/plugins.js index 2ac0d381..a5731e64 100644 --- a/app/plugins.js +++ b/app/plugins.js @@ -199,7 +199,7 @@ exports.subscribe = fn => { function getPaths() { return { plugins: plugins.plugins.map(name => { - return resolve(path, 'node_modules', name.split('#')[0]); + return resolve(path, 'node_modules', name.split('#')[0].split('@')[0]); }), localPlugins: plugins.localPlugins.map(name => { return resolve(localPath, name);