mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 17:10:34 +00:00
chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
import {
|
||||
getHealthSnapshot,
|
||||
type HealthSummary,
|
||||
} from "../../commands/health.js";
|
||||
import {
|
||||
CONFIG_PATH_CLAWDBOT,
|
||||
STATE_DIR_CLAWDBOT,
|
||||
} from "../../config/config.js";
|
||||
import { getHealthSnapshot, type HealthSummary } from "../../commands/health.js";
|
||||
import { CONFIG_PATH_CLAWDBOT, STATE_DIR_CLAWDBOT } from "../../config/config.js";
|
||||
import { listSystemPresence } from "../../infra/system-presence.js";
|
||||
import type { Snapshot } from "../protocol/index.js";
|
||||
|
||||
@@ -48,9 +42,7 @@ export function getPresenceVersion(): number {
|
||||
return presenceVersion;
|
||||
}
|
||||
|
||||
export function setBroadcastHealthUpdate(
|
||||
fn: ((snap: HealthSummary) => void) | null,
|
||||
) {
|
||||
export function setBroadcastHealthUpdate(fn: ((snap: HealthSummary) => void) | null) {
|
||||
broadcastHealthUpdate = fn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user