Merge branch 'master' of gogs.dengtongyu.com:tony/wdp
This commit is contained in:
commit
1ba3fd9840
1 file changed
+5
@@ -12,6 +12,11 @@ let _paths = {};
|
||||
let _configJson = {};
|
||||
|
||||
exports.init = (type, paths, command) => {
|
||||
if(type != 'react') {
|
||||
console.error(chalk.bold.red('暂不支持该类型模板!'));
|
||||
return;
|
||||
}
|
||||
|
||||
_paths = paths;
|
||||
|
||||
let tplPath = path.join(_paths.rootPath, util.tplTypePath(type));
|
||||
|
||||
Reference in new issue
Block a user