fixed pack
This commit is contained in:
1 parent
34157cded4
commit
355f791c42
3 files changed
+13
-9
No files matched your search
@@ -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);
|
||||
})
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user