Merge branch 'master' of gogs.dengtongyu.com:tony/wdp

This commit is contained in:
dengtongyu committed 2018-11-20 09:48:49 +08:00
commit 1ba3fd9840
1 file changed
+5
+5
View File
@@ -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));