diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-06-12 00:50:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 19:50:02 -0400 |
commit | 07437acc74f63c4f2e218c4424ef8fe6cf0f8de2 (patch) | |
tree | c392fe8fceec52d401747eabb44082d6dd4f66a3 /tools/verify_pr_title.js | |
parent | 3b9eeba02c65326023df077a6997fd13b22d1f3a (diff) |
build: fix 'deno_core' PR title lint (#24183)
Diffstat (limited to 'tools/verify_pr_title.js')
-rw-r--r-- | tools/verify_pr_title.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/verify_pr_title.js b/tools/verify_pr_title.js index 9b420ee78..d7b393bcd 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 ", |