mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:20:44 +00:00
chore: Enable no-unnecessary-template-expression lint rule.
This commit is contained in:
@@ -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") ||
|
||||
|
||||
Reference in New Issue
Block a user