@@ -33,11 +33,11 @@ export function runBuilder(options: BuildBuilderSchema, context: ExecutorContext
3333 const configTarget = targetConfigName ? `:${ targetConfigName } ` : '' ;
3434 const projectTargetCmd = `${ context . projectName } :${ context . targetName } ${ configTarget } ` ;
3535 const projectTargetCmdIndex = process . argv . findIndex ( c => c === projectTargetCmd ) ;
36- const additionalCliFlagArgs = [ ] ;
37- if ( process . argv . length > projectTargetCmdIndex + 1 ) {
38- additionalCliFlagArgs . push ( ...process . argv . slice ( projectTargetCmdIndex + 1 , process . argv . length ) ) ;
39- // console.log('additionalCliFlagArgs:', additionalCliFlagArgs);
40- }
36+ // const additionalCliFlagArgs = [];
37+ // if (process.argv.length > projectTargetCmdIndex+1) {
38+ // additionalCliFlagArgs.push(...process.argv.slice(projectTargetCmdIndex+1, process.argv.length));
39+ // // console.log('additionalCliFlagArgs:', additionalCliFlagArgs);
40+ // }
4141
4242 const fileReplacements : Array < string > = [ ] ;
4343 let configOptions ;
@@ -166,7 +166,8 @@ export function runBuilder(options: BuildBuilderSchema, context: ExecutorContext
166166 nsOptions . push ( '--force' ) ;
167167 }
168168 // console.log('command:', [`ns`, ...nsOptions, ...additionalCliFlagArgs].join(' '));
169- const child = childProcess . spawn ( / ^ w i n / . test ( process . platform ) ? 'ns.cmd' : 'ns' , [ ...nsOptions , ...additionalCliFlagArgs ] , {
169+ // console.log('command:', [`ns`, ...nsOptions].join(' '));
170+ const child = childProcess . spawn ( / ^ w i n / . test ( process . platform ) ? 'ns.cmd' : 'ns' , [ ...nsOptions ] , {
170171 cwd : projectCwd ,
171172 stdio : 'inherit' ,
172173 } ) ;
0 commit comments