chore: badges

This commit is contained in:
calebboyd
2018-10-04 08:19:40 -05:00
parent 18bbf24456
commit 891ac0ab2a
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ async function getJson<T>(url: string, options?: any) {
}
function isBuildableVersion(version: string) {
const major = +version.split('.')[0]
return !~versionsToSkip.indexOf(major) || version === '4.8.4'
const major = Number(version.split('.')[0])
return !versionsToSkip.includes(major) || version === '4.8.4'
}
export function getLatestGitRelease(options?: any) {