@@ -74,17 +74,19 @@ const getMaxArgLength = () => {
74
74
}
75
75
}
76
76
77
+ const cmdlineOptions = cmdline . opts ( )
78
+
77
79
const options = {
78
- allowEmpty : ! ! cmdline . allowEmpty ,
79
- concurrent : JSON . parse ( cmdline . concurrent ) ,
80
- configPath : cmdline . config ,
81
- debug : ! ! cmdline . debug ,
80
+ allowEmpty : ! ! cmdlineOptions . allowEmpty ,
81
+ concurrent : JSON . parse ( cmdlineOptions . concurrent ) ,
82
+ configPath : cmdlineOptions . config ,
83
+ debug : ! ! cmdlineOptions . debug ,
82
84
maxArgLength : getMaxArgLength ( ) / 2 ,
83
- stash : ! ! cmdline . stash , // commander inverts `no-<x>` flags to `!x`
84
- quiet : ! ! cmdline . quiet ,
85
- relative : ! ! cmdline . relative ,
86
- shell : ! ! cmdline . shell ,
87
- verbose : ! ! cmdline . verbose ,
85
+ stash : ! ! cmdlineOptions . stash , // commander inverts `no-<x>` flags to `!x`
86
+ quiet : ! ! cmdlineOptions . quiet ,
87
+ relative : ! ! cmdlineOptions . relative ,
88
+ shell : ! ! cmdlineOptions . shell ,
89
+ verbose : ! ! cmdlineOptions . verbose ,
88
90
}
89
91
90
92
debug ( 'Options parsed from command-line:' , options )
0 commit comments