Skip to content

Commit de216f2

Browse files
AgentEnderclaudenx-cloud[bot]
authored
fix(core): show continuous property in nx show target (#34867)
Add the continuous property to the nx show target output. Previously the command showed cache and parallelism but not whether a target is continuous. Fixes NXC-4084 --------- Co-authored-by: Claude <[email protected]> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> Co-authored-by: AgentEnder <[email protected]>
1 parent 1afb96b commit de216f2

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

e2e/nx/src/__snapshots__/misc.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,6 @@ Outputs:
8686
Configurations: production
8787
Cache: true
8888
Parallelism: true
89+
Continuous: false
8990
"
9091
`;

packages/nx/src/command-line/show/target.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ function resolveTargetInfoData(
366366
: {}),
367367
cache: targetConfig.cache ?? false,
368368
parallelism: targetConfig.parallelism ?? true,
369+
continuous: targetConfig.continuous ?? false,
369370
};
370371
}
371372

@@ -657,6 +658,7 @@ function renderTargetInfo(
657658

658659
console.log(`${c.bold('Cache')}: ${data.cache}`);
659660
console.log(`${c.bold('Parallelism')}: ${data.parallelism}`);
661+
console.log(`${c.bold('Continuous')}: ${data.continuous}`);
660662
}
661663

662664
function renderInputs(

0 commit comments

Comments
 (0)