We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07faad8 + c88ed72 commit 4310f56Copy full SHA for 4310f56
scripts/request-pr-review.ts
@@ -42,7 +42,7 @@ main().catch(console.error);
42
43
async function main() {
44
const gh = new Octokit({ auth: options.token });
45
- const response = await gh.pulls.createReviewRequest({
+ const response = await gh.pulls.requestReviewers({
46
owner: options.owner,
47
repo: options.repo,
48
pull_number,
src/testRunner/parallel/worker.ts
@@ -41,7 +41,7 @@ namespace Harness.Parallel.Worker {
41
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;
}
0 commit comments