We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
resLatestCommitHash
1 parent 4c81fb9 commit 14cebe8Copy full SHA for 14cebe8
utils/bump/resources.js
@@ -133,8 +133,7 @@
133
console.log(`${resName} already up-to-date!`) ; log.endedWithLineBreak = false
134
continue // ...so skip resource
135
}
136
- if (resURL.includes('?v=')) // full hash wasn't required for URL whitelisting
137
- resLatestCommitHash = resLatestCommitHash.substring(0, 7) // ...so abbr it
+ resLatestCommitHash = resLatestCommitHash.substring(0, 7) // abbr it
138
let updatedURL = resURL.replace(rePatterns.commitHash, `$1${resLatestCommitHash}`) // update hash
139
if (!await isValidResource(updatedURL)) continue // to next resource
140
0 commit comments