fix 奇遇

This commit is contained in:
luying
2020-12-31 15:22:01 +08:00
parent 747d24c6b2
commit 255696e590
4 changed files with 36 additions and 40 deletions
+5 -1
View File
@@ -4,9 +4,13 @@ function main (){
if (args.length !== 1) {
return console.log('参数请填写环境变量');
}
let env = args[0];
if(args[0] == 'stable') {
env = 'production';
}
let configObject = {
env: args[0]
env: env
};
let result = JSON.stringify(configObject);