Skip to content

Commit f05ac32

Browse files
committed
wip
1 parent 5db67bc commit f05ac32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/purge-jsdeliver-cache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const purgeJsDelivrCache = async (packageName, relativePath) => {
1919
cwd: gitRoot,
2020
}).toString()
2121

22-
const hasTags = tags.includes(packageName)
23-
if (!hasTags) {
22+
const hasMatchingTag = tags.includes(packageName)
23+
if (!hasMatchingTag) {
2424
console.log(
2525
`No tags containing the package name "${packageName}" found on the current git HEAD. Aborting script.`
2626
)

0 commit comments

Comments
 (0)