From a15871560f80e07386c1dabb8370cd2664ecfd1f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Jan 2020 16:56:52 +0100 Subject: Move to eslint --- shared/core-utils/miscs/miscs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared/core-utils/miscs/miscs.ts') diff --git a/shared/core-utils/miscs/miscs.ts b/shared/core-utils/miscs/miscs.ts index 5de024c08..1eee22d82 100644 --- a/shared/core-utils/miscs/miscs.ts +++ b/shared/core-utils/miscs/miscs.ts @@ -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 } -- cgit v1.2.3