summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop-electron/src
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-15 22:53:10 -0400
committerGitHub <[email protected]>2026-04-16 02:53:10 +0000
commit702f7412676deae8317213a56a3b32095dba5aa4 (patch)
treeb0832ab0461dd96e784b0d960b63d99a30eee1fc /packages/desktop-electron/src
parent665a8430864fb7a55dedea63a6cbdbe400218f80 (diff)
downloadopencode-702f7412676deae8317213a56a3b32095dba5aa4.tar.gz
opencode-702f7412676deae8317213a56a3b32095dba5aa4.zip
feat: enable oxlint suspicious category, fix 24 violations (#22727)
Diffstat (limited to 'packages/desktop-electron/src')
-rw-r--r--packages/desktop-electron/src/main/apps.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/desktop-electron/src/main/apps.ts b/packages/desktop-electron/src/main/apps.ts
index d21b6cc9e..174da94a5 100644
--- a/packages/desktop-electron/src/main/apps.ts
+++ b/packages/desktop-electron/src/main/apps.ts
@@ -28,7 +28,7 @@ export function wslPath(path: string, mode: "windows" | "linux" | null): string
const output = execFileSync("wsl", ["-e", "wslpath", flag, path])
return output.toString().trim()
} catch (error) {
- throw new Error(`Failed to run wslpath: ${String(error)}`)
+ throw new Error(`Failed to run wslpath: ${String(error)}`, { cause: error })
}
}