Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Mar 25, 2024
1 parent b21ce3a commit 40eb612
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dev/eslint/run_eslint_with_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export function runEslintWithTypes() {

throw createFailError('unable to find projects to lint');
}
const concurrency = process.env.CI ? Os.availableParallelism() : Os.availableParallelism() / 2
const concurrency = process.env.CI
? Os.availableParallelism()
: Os.availableParallelism() / 2;
log.info(`Linting ${projects.length} projects, ${concurrency} at a time`);

const failures = await Rx.lastValueFrom(
Expand Down

0 comments on commit 40eb612

Please sign in to comment.