fixed pack

This commit is contained in:
dengtongyu committed 2018-05-16 18:52:08 +08:00
1 parent 34157cded4
commit 355f791c42
3 files changed
+13 -9

No files matched your search

+2 -2
View File
@@ -103,7 +103,7 @@ program
});
program
.command('build')
.command('pack')
.alias('b')
.description('打包构建一个已存在的项目')
.option('-n, --name [pathName]', '打包构建路径名称')
@@ -133,7 +133,7 @@ program
inquirer.prompt(promps).then(function (answers) {
//console.log('\n',answers)
option = Object.assign(answers,option);
//console.log(option);
//console.log(option.name);
task.pack(option.name);
})
});