Skip to content

Commit

Permalink
fix: 修复 reloadRC 模块找不到
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhaoju committed Nov 30, 2017
1 parent b1665e1 commit 2e06dd7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions lib/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ykit",
"version": "2.0.1",
"version": "2.0.2",
"description": "现代 JavaScript 应用构建工具",
"bin": {
"ykit": "bin/ykit"
Expand Down
2 changes: 0 additions & 2 deletions src/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 2e06dd7

Please sign in to comment.