Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove comment
  • Loading branch information
rluvaton committed Jul 3, 2023
commit 51f769706df6e83f2c5de9a8dc3263abe039069f
1 change: 0 additions & 1 deletion lib/internal/test_runner/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@ function run(options) {
validateObject(shards, 'options.shards');
validateNumber(shards.total, 'options.shards.total', 1);
validateNumber(shards.index, 'options.shards.index');
// validateNumber(shards.index, 'options.shards.index', 1, shards.total);

if (shards.index <= 0 || shards.total < shards.index) {
throw new ERR_OUT_OF_RANGE('options.shards.index', `>= 1 && <= ${shards.total} ("options.shards.total")`, shards.index);
Expand Down