Skip to content

Commit 32b90ef

Browse files
committed
make format
1 parent 45215a1 commit 32b90ef

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

script/build/index.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const LIBRARY_ENTRY_POINTS = [
3232
"src/cubing/stream/index.ts",
3333
"src/cubing/search/index.ts",
3434
"src/cubing/twisty/index.ts",
35-
]
35+
];
3636

3737
const external = ["three", "comlink"];
3838

@@ -329,13 +329,17 @@ export const typesTarget = {
329329
builtYet: false,
330330
dependencies: [searchWorkerTarget],
331331
buildSelf: async (dev) => {
332-
console.warn(
333-
"Note: The `types` target is slow. Expect several seconds.",
334-
);
332+
console.warn("Note: The `types` target is slow. Expect several seconds.");
335333
if (dev) {
336334
throw new Error("Cannot build `types` target in dev mode.");
337335
}
338-
await spawnPromise("npx", ["tsup", ...LIBRARY_ENTRY_POINTS, "--dts-only", "--out-dir", "dist/types"]);
336+
await spawnPromise("npx", [
337+
"tsup",
338+
...LIBRARY_ENTRY_POINTS,
339+
"--dts-only",
340+
"--out-dir",
341+
"dist/types",
342+
]);
339343
},
340344
};
341345

src/cubing/twisty/views/TwistyPlayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export class TwistyPlayer
228228
#flashLevel: "auto" | "none" = "auto";
229229
/** @deprecated */
230230
experimentalSetFlashLevel(newLevel: "auto" | "none"): void {
231-
this.#flashLevel = newLevel
231+
this.#flashLevel = newLevel;
232232
}
233233

234234
flash() {

0 commit comments

Comments
 (0)