File tree Expand file tree Collapse file tree
packages/nx-plugin/src/executors/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ export default async function runAutorunExecutor(
2323 normalizedContext ,
2424 ) ;
2525 const { command : cliCommand } = terminalAndExecutorOptions ;
26- const { dryRun, verbose, bin, ...restArgs } = cliArgumentObject ;
26+ const { verbose = false , dryRun, bin, ...restArgs } = cliArgumentObject ;
27+ logger . setVerbose ( verbose ) ;
28+
2729 const command = bin ? `node` : 'npx' ;
2830 const positionals = [
2931 bin ?? '@code-pushup/cli' ,
@@ -47,14 +49,6 @@ export default async function runAutorunExecutor(
4749 command,
4850 args,
4951 ...( context . cwd ? { cwd : context . cwd } : { } ) ,
50- ...( verbose
51- ? {
52- env : {
53- ...process . env ,
54- ...executorEnvVariables ,
55- } ,
56- }
57- : { } ) ,
5852 } ) ;
5953 } catch ( error ) {
6054 logger . error ( stringifyError ( error ) ) ;
You can’t perform that action at this time.
0 commit comments