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.
1 parent 7bc8f19 commit ca98c6bCopy full SHA for ca98c6b
scripts/preview-theme.js
@@ -46,8 +46,8 @@ const INVALID_REVIEW_COMMENT = (commentUrl) =>
46
47
// Retrieve octokit instance.
48
const OCTOKIT = github.getOctokit(getGithubToken());
49
-const PULL_REQUEST_ID = getPrNumber();
50
const { OWNER, REPO } = getRepoInfo(github.context);
+var PULL_REQUEST_ID;
51
52
/**
53
* Retrieve PR number from the event payload.
@@ -318,6 +318,7 @@ export const run = async () => {
318
`;
319
const ccc = new ColorContrastChecker();
320
const commenter = getCommenter();
321
+ PULL_REQUEST_ID = getPrNumber();
322
debug(`Owner: ${OWNER}`);
323
debug(`Repo: ${REPO}`);
324
debug(`Commenter: ${commenter}`);
0 commit comments