mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-30 11:40:48 +00:00
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:
+5
-3
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user