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

@@ -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");
}