From 2e06dd7dda650e3409b0fc02f6fc398ad4c10fb6 Mon Sep 17 00:00:00 2001 From: "yuhao.ju" Date: Thu, 30 Nov 2017 14:45:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20reloadRC=20?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=89=BE=E4=B8=8D=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/commands/init.js | 2 -- package.json | 2 +- src/commands/init.js | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/commands/init.js b/lib/commands/init.js index 06043c5..c3cdb96 100644 --- a/lib/commands/init.js +++ b/lib/commands/init.js @@ -19,8 +19,6 @@ exports.setOptions = function () { exports.run = function (options) { var userRegistry = options.r || options.registry; - Manager.reloadRC(); - var cwd = options.cwd, defaultName = '', packageJsonPath = sysPath.join(cwd, './package.json'); diff --git a/package.json b/package.json index b5fb62d..9b35524 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ykit", - "version": "2.0.1", + "version": "2.0.2", "description": "现代 JavaScript 应用构建工具", "bin": { "ykit": "bin/ykit" diff --git a/src/commands/init.js b/src/commands/init.js index d10aa67..ccf8074 100644 --- a/src/commands/init.js +++ b/src/commands/init.js @@ -19,8 +19,6 @@ exports.setOptions = () => { exports.run = function(options) { const userRegistry = options.r || options.registry; - Manager.reloadRC(); - let cwd = options.cwd, defaultName = '', packageJsonPath = sysPath.join(cwd, './package.json');