@@ -33,11 +33,11 @@ export function runBuilder(options: BuildBuilderSchema, context: ExecutorContext
33
33
const configTarget = targetConfigName ? `:${ targetConfigName } ` : '' ;
34
34
const projectTargetCmd = `${ context . projectName } :${ context . targetName } ${ configTarget } ` ;
35
35
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
+ // }
41
41
42
42
const fileReplacements : Array < string > = [ ] ;
43
43
let configOptions ;
@@ -166,7 +166,8 @@ export function runBuilder(options: BuildBuilderSchema, context: ExecutorContext
166
166
nsOptions . push ( '--force' ) ;
167
167
}
168
168
// 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 ] , {
170
171
cwd : projectCwd ,
171
172
stdio : 'inherit' ,
172
173
} ) ;
0 commit comments