From 07437acc74f63c4f2e218c4424ef8fe6cf0f8de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 12 Jun 2024 00:50:02 +0100 Subject: [PATCH] build: fix 'deno_core' PR title lint (#24183) --- tools/verify_pr_title.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/verify_pr_title.js b/tools/verify_pr_title.js index 9b420ee78f..d7b393bcd3 100644 --- a/tools/verify_pr_title.js +++ b/tools/verify_pr_title.js @@ -8,8 +8,8 @@ if (prTitle == null) { console.log("PR title:", prTitle); if ( - prTitle.startsWith("chore:") && prTitle.contains("deno_core") && - (prTitle.contains("upgrade") || prTitle.contains("update")) + prTitle.startsWith("chore:") && prTitle.includes("deno_core") && + (prTitle.includes("upgrade") || prTitle.includes("update")) ) { console.error([ "Please categorize this deno_core upgrade as a 'feat:', 'fix:' or a ",