From dd7342182161a3b8562cb8f1ee094b1ee8311808 Mon Sep 17 00:00:00 2001 From: OliverOdo Date: Wed, 26 Jun 2024 16:23:09 +0700 Subject: [PATCH] Update 404-links.js --- 404-links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/404-links.js b/404-links.js index 5d95d01..4d5d169 100644 --- a/404-links.js +++ b/404-links.js @@ -52,7 +52,7 @@ stream options.log(` * ${chalk.red(err.status)} - ${chalk.underline(err.url)} in the file ${chalk.yellow(err.file + ':' + err.line)}`) }) - if (this.options.pullRequestReview) { + if (options.pullRequestReview) { await pullRequest(this.errors) }