Skip to content

Commit f533b6d

Browse files
authored
fix: Don't let concurrenct default to zero. (#161)
1 parent 6be3efd commit f533b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

borp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const args = parseArgs({
3434
only: { type: 'boolean', short: 'o' },
3535
watch: { type: 'boolean', short: 'w' },
3636
pattern: { type: 'string', short: 'p' },
37-
concurrency: { type: 'string', short: 'c', default: os.availableParallelism() - 1 + '' },
37+
concurrency: { type: 'string', short: 'c', default: (os.availableParallelism() - 1 || 1) + '' },
3838
coverage: { type: 'boolean', short: 'C' },
3939
timeout: { type: 'string', short: 't', default: '30000' },
4040
'no-timeout': { type: 'boolean' },

0 commit comments

Comments
 (0)