Skip to content

Commit

Permalink
Merge branch 'release-3.9' into pick/38653/release-3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham committed Jun 15, 2020
2 parents 07faad8 + c88ed72 commit 4310f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/request-pr-review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main().catch(console.error);

async function main() {
const gh = new Octokit({ auth: options.token });
const response = await gh.pulls.createReviewRequest({
const response = await gh.pulls.requestReviewers({
owner: options.owner,
repo: options.repo,
pull_number,
Expand Down
2 changes: 1 addition & 1 deletion src/testRunner/parallel/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Harness.Parallel.Worker {
return class extends (base as typeof Mocha.Runnable) {
resetTimeout() {
this.clearTimeout();
if (this.enableTimeouts()) {
if (this.timeout() > 0) {
sendMessage({ type: "timeout", payload: { duration: this.timeout() || 1e9 } });
this.timer = true;
}
Expand Down

0 comments on commit 4310f56

Please sign in to comment.