mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
style(util): Address linting issues
This commit is contained in:
parent
dab78c4f62
commit
ab8d4dc560
1 changed files with 4 additions and 5 deletions
|
@ -119,12 +119,11 @@ class Cast {
|
|||
const s1 = String(v1).toLowerCase();
|
||||
const s2 = String(v2).toLowerCase();
|
||||
if (s1 < s2) {
|
||||
return -1
|
||||
return -1;
|
||||
} else if (s1 > s2) {
|
||||
return 1
|
||||
} else {
|
||||
return 0
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
// Compare as numbers.
|
||||
return n1 - n2;
|
||||
|
|
Loading…
Reference in a new issue