Skip to content

Commit 9bfc47c

Browse files
committed
review comments
1 parent 0ba4fd9 commit 9bfc47c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

dev-packages/e2e-tests/lib/getTestMatrix.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,7 @@ function run(): void {
5858

5959
// For GitHub Action debugging (using stderr the 'matrix=...' output is not polluted)
6060
// eslint-disable-next-line no-console
61-
console.error(
62-
`Discovered ${testApplications.length} test applications${
63-
testApplications.length > 0
64-
? ` (sample: ${JSON.stringify(testApplications.slice(0, 10))}${testApplications.length > 10 ? ' …' : ''})`
65-
: ''
66-
}`,
67-
);
61+
console.error(`Discovered ${testApplications.length} test applications: ${testApplications.join(', ')}`);
6862

6963
// If `--base=xxx` is defined, we only want to get test applications changed since that base
7064
// Else, we take all test applications (e.g. on push)
@@ -160,7 +154,7 @@ function getAffectedTestApplications(
160154
.filter(Boolean);
161155
} catch (error) {
162156
// eslint-disable-next-line no-console
163-
console.warn('Failed to compute affected projects via Nx. Running all tests instead.', error);
157+
console.error('Failed to compute affected projects via Nx. Running all tests instead.', error);
164158
return testApplications;
165159
}
166160

0 commit comments

Comments
 (0)