diff --git a/tools/broken-link-checker/run.js b/tools/broken-link-checker/run.js index a6a67a2a..e82a6afd 100644 --- a/tools/broken-link-checker/run.js +++ b/tools/broken-link-checker/run.js @@ -133,7 +133,7 @@ async function urlsFromFiles(options) { options.isFork = argv.isFork !== undefined ? argv.isFork - : github.context.payload.pull_request.head.repo.fork; + : context.payload.pull_request.head.repo.fork; options.skipEditLink = options.isFork; urls = await urlsFromPR(options); } else if (type === undefined) {