1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

build: fix 'deno_core' PR title lint (#24183)

This commit is contained in:
Bartek Iwańczuk 2024-06-12 00:50:02 +01:00 committed by Nathan Whitaker
parent ee48647065
commit 1400f57449
No known key found for this signature in database

View file

@ -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 ",