style: format extracted helpers

This commit is contained in:
Eyejoker
2026-03-23 07:00:22 +09:00
parent a2db8f6c0e
commit 867a6a80ef
4 changed files with 18 additions and 20 deletions

View File

@@ -18,10 +18,7 @@ export interface TaskStatusTrackerTransport {
export interface TaskStatusTracker {
enabled: boolean;
update: (
phase: WatcherStatusPhase,
nextRun?: string | null,
) => Promise<void>;
update: (phase: WatcherStatusPhase, nextRun?: string | null) => Promise<void>;
}
export function createTaskStatusTracker(
@@ -44,10 +41,7 @@ export function createTaskStatusTracker(
});
};
const update = async (
phase: WatcherStatusPhase,
nextRun?: string | null,
) => {
const update = async (phase: WatcherStatusPhase, nextRun?: string | null) => {
if (!enabled) return;
const checkedAt = new Date().toISOString();