This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ module.exports = class CliCmdLine {
|
||||
let param = cmdLine.params[pname];
|
||||
if ( param.isFlag ) {
|
||||
if ( param.needValue ){
|
||||
if ( params[pname] ) {
|
||||
if ( params[pname] !== undefined ) {
|
||||
this.params[pname] = params[pname]
|
||||
} else {
|
||||
if ( ! param.isOptional ) {
|
||||
|
||||
Reference in New Issue
Block a user