Skip to content

Commit 4310f56

Browse files
committed
Merge branch 'release-3.9' into pick/38653/release-3.9
2 parents 07faad8 + c88ed72 commit 4310f56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/request-pr-review.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ main().catch(console.error);
4242

4343
async function main() {
4444
const gh = new Octokit({ auth: options.token });
45-
const response = await gh.pulls.createReviewRequest({
45+
const response = await gh.pulls.requestReviewers({
4646
owner: options.owner,
4747
repo: options.repo,
4848
pull_number,

src/testRunner/parallel/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace Harness.Parallel.Worker {
4141
return class extends (base as typeof Mocha.Runnable) {
4242
resetTimeout() {
4343
this.clearTimeout();
44-
if (this.enableTimeouts()) {
44+
if (this.timeout() > 0) {
4545
sendMessage({ type: "timeout", payload: { duration: this.timeout() || 1e9 } });
4646
this.timer = true;
4747
}

0 commit comments

Comments
 (0)