mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Move to eslint
This commit is contained in:
@@ -11,7 +11,7 @@ function compareSemVer (a: string, b: string) {
|
||||
const l = Math.min(segmentsA.length, segmentsB.length)
|
||||
|
||||
for (let i = 0; i < l; i++) {
|
||||
const diff = parseInt(segmentsA[ i ], 10) - parseInt(segmentsB[ i ], 10)
|
||||
const diff = parseInt(segmentsA[i], 10) - parseInt(segmentsB[i], 10)
|
||||
|
||||
if (diff) return diff
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user