File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ export function commonExecutor(options: BuildExecutorSchema | TestExecutorSchema
232232 const extraFlags = process . argv . slice ( projectTargetCmdIndex + 1 , process . argv . length ) ;
233233 for ( const flag of extraFlags ) {
234234 const optionName = parseOptionName ( flag ) ;
235- if ( optionName ?. indexOf ( '/' ) === - 1 && optionName ?. indexOf ( '{' ) === - 1 ) {
235+ if ( optionName ?. indexOf ( '/' ) === - 1 && optionName ?. indexOf ( '{' ) === - 1 && optionName ?. indexOf ( '\\' ) === - 1 ) {
236236 // no valid options should start with '/' or '{' - those are often extra process.argv context args that should be ignored
237237 if ( ! nsOptions . includes ( flag ) && ! additionalArgs . includes ( flag ) && ! enforceSingularOptions . includes ( optionName ) ) {
238238 additionalArgs . push ( flag ) ;
You can’t perform that action at this time.
0 commit comments