Skip to content

Commit

Permalink
build: lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ctyu committed Jul 6, 2018
1 parent 5e41c4b commit 4001b5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dependence.js
Expand Up @@ -75,7 +75,8 @@ function install(type, typeInfo) {
msgInfo.push(`你已安装${`${packageName}@${result.current}`.red},默认版本为${typeInfo[packageName].green}${'请确认!'.red}`);
}
});
addDevDependence(typeInfo);
// installPackage 会自动在package.json里面加入devDependence的依赖
// addDevDependence(typeInfo);
res(msgInfo);
} else if (typeInfo.install) {
let child = sh.exec(typeInfo.install, { async: true, stdio: 'inherit' });
Expand Down

0 comments on commit 4001b5a

Please sign in to comment.