Keep up with the times (#102)

* Keep up with the times

* Act on local static analysis (and other actions) results

npm run ... from package.json
This commit is contained in:
Paulo F. Oliveira
2022-04-12 18:20:59 +01:00
committed by GitHub
parent 01cb298fa5
commit 5436ca9587
7 changed files with 6767 additions and 1196 deletions
+5 -3
View File
@@ -471,9 +471,11 @@ async function get(url0, pageIdxs) {
function maybePrependWithV(versionToPrepend, specVersion) {
const digitStart = /^\d+/
return digitStart.test(specVersion)
? `v${versionToPrepend}`
: versionToPrepend
let v = versionToPrepend
if (digitStart.test(specVersion)) {
v = `v${versionToPrepend}`
}
return v
}
module.exports = {