mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 09:11:26 +00:00
chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -52,8 +52,7 @@ export const formatDaemonRuntimeShort = (runtime?: {
|
||||
}
|
||||
const detail = runtime.detail?.replace(/\s+/g, " ").trim() || "";
|
||||
const noisyLaunchctlDetail =
|
||||
runtime.missingUnit === true &&
|
||||
detail.toLowerCase().includes("could not find service");
|
||||
runtime.missingUnit === true && detail.toLowerCase().includes("could not find service");
|
||||
if (detail && !noisyLaunchctlDetail) details.push(detail);
|
||||
return details.length > 0 ? `${status} (${details.join(", ")})` : status;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user