Skip to content

Commit c068372

Browse files
fix indent (#181)
1 parent aab5daf commit c068372

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/common/utils.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// Licensed under the MIT license.
33

44
export function shuffleList<T>(array: T[]): T[] {
5-
for (let i = array.length - 1; i > 0; i--) {
6-
const j = Math.floor(Math.random() * (i + 1));
7-
[array[i], array[j]] = [array[j], array[i]];
8-
}
9-
return array;
5+
for (let i = array.length - 1; i > 0; i--) {
6+
const j = Math.floor(Math.random() * (i + 1));
7+
[array[i], array[j]] = [array[j], array[i]];
8+
}
9+
return array;
1010
}

0 commit comments

Comments
 (0)