Apply Biome lint fixes
CI / check (push) Failing after 26s
CI / release (push) Skipped
CI / deploy (push) Skipped

This commit is contained in:
openhands committed 2026-08-25 22:26:05 +02:00
1 parent f63ca708fe
commit 4eded4ec61
4 files changed
+7 -9

No files matched your search

+3 -3
View File
@@ -31,21 +31,21 @@ if (parentPort) {
try {
if (msg.type === "convert") {
const result = convertSwfToNitro(msg.buffer, msg.classname);
parentPort!.postMessage({
parentPort?.postMessage({
id: msg.id,
ok: true,
result,
} satisfies WorkerResponse);
} else {
const icon = extractIconFromSwf(msg.buffer, msg.classname);
parentPort!.postMessage({
parentPort?.postMessage({
id: msg.id,
ok: true,
icon: icon ?? null,
} satisfies WorkerResponse);
}
} catch (err) {
parentPort!.postMessage({
parentPort?.postMessage({
id: msg.id,
ok: false,
error: (err as Error).message,
+1 -1
View File
@@ -1,4 +1,4 @@
import path from "path";
import path from "node:path";
export function getRuntimePath(...segments: string[]): string {
const resolvePath = new Function("p", "segs", "return p.join(...segs)");