mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 00:10:21 +00:00
chore: Enable no-unnecessary-template-expression lint rule.
This commit is contained in:
@@ -327,7 +327,7 @@ export async function uninstallScheduledTask({
|
||||
}
|
||||
|
||||
function isTaskNotRunning(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("not running");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user