mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 13:01:25 +00:00
style: apply oxfmt
This commit is contained in:
@@ -2,17 +2,8 @@ import path from "node:path";
|
||||
|
||||
import type { ClawdbotConfig } from "../config/config.js";
|
||||
import { CONFIG_DIR } from "../utils.js";
|
||||
import {
|
||||
hasBinary,
|
||||
isConfigPathTruthy,
|
||||
resolveConfigPath,
|
||||
resolveHookConfig,
|
||||
} from "./config.js";
|
||||
import type {
|
||||
HookEligibilityContext,
|
||||
HookEntry,
|
||||
HookInstallSpec,
|
||||
} from "./types.js";
|
||||
import { hasBinary, isConfigPathTruthy, resolveConfigPath, resolveHookConfig } from "./config.js";
|
||||
import type { HookEligibilityContext, HookEntry, HookInstallSpec } from "./types.js";
|
||||
import { loadWorkspaceHookEntries } from "./workspace.js";
|
||||
|
||||
export type HookStatusConfigCheck = {
|
||||
@@ -155,9 +146,7 @@ function buildHookStatus(
|
||||
return { path: pathStr, value, satisfied };
|
||||
});
|
||||
|
||||
const missingConfig = configChecks
|
||||
.filter((check) => !check.satisfied)
|
||||
.map((check) => check.path);
|
||||
const missingConfig = configChecks.filter((check) => !check.satisfied).map((check) => check.path);
|
||||
|
||||
const missing = always
|
||||
? { bins: [], anyBins: [], env: [], config: [], os: [] }
|
||||
|
||||
Reference in New Issue
Block a user