updated
This commit is contained in:
parent
73fc0541ed
commit
5895d3bbe7
2
envar.js
2
envar.js
@ -55,7 +55,7 @@ module.exports = {
|
||||
commander.parse(process.argv)
|
||||
delete global.envar.Commander_Option_List
|
||||
|
||||
console.log('- Merging Command Line Parameters into Configuration (把命令行参数值合并入配置)')
|
||||
// console.log('- Merging Command Line Parameters into Configuration (把命令行参数值合并入配置)')
|
||||
for (let key in commander) {
|
||||
if (!/^_/.test(key) && typeof commander[key] === 'string') {
|
||||
// commander 自带了一批 _开头的属性,过滤掉
|
||||
|
Loading…
Reference in New Issue
Block a user