Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jul 15, 2024
1 parent 6f3864b commit 9844279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-config/src/getMaxWorkers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type {Config} from '@jest/types';
function getNumCpus(): number {
return typeof availableParallelism === 'function'
? availableParallelism()
: cpus()?.length ?? 1;
: (cpus()?.length ?? 1);
}

export default function getMaxWorkers(
Expand Down

0 comments on commit 9844279

Please sign in to comment.