style: apply oxfmt

This commit is contained in:
Peter Steinberger
2026-01-17 18:32:15 +00:00
parent 7a3fa9ce03
commit 534a012a4e
6 changed files with 11 additions and 15 deletions

View File

@@ -17,7 +17,8 @@ export async function isWSL(): Promise<boolean> {
}
try {
const release = await fs.readFile("/proc/sys/kernel/osrelease", "utf8");
wslCached = release.toLowerCase().includes("microsoft") || release.toLowerCase().includes("wsl");
wslCached =
release.toLowerCase().includes("microsoft") || release.toLowerCase().includes("wsl");
} catch {
wslCached = false;
}