chore: Enable no-unnecessary-template-expression lint rule.

This commit is contained in:
cpojer
2026-02-02 15:37:05 +09:00
parent 87a61c3b88
commit baa1e95b9d
10 changed files with 20 additions and 26 deletions

View File

@@ -355,7 +355,7 @@ export async function uninstallLaunchAgent({
}
function isLaunchctlNotLoaded(res: { stdout: string; stderr: string; code: number }): boolean {
const detail = `${res.stderr || res.stdout}`.toLowerCase();
const detail = (res.stderr || res.stdout).toLowerCase();
return (
detail.includes("no such process") ||
detail.includes("could not find service") ||