refactor: trim crestodian and daemon internals

This commit is contained in:
Peter Steinberger
2026-05-02 02:54:11 +01:00
parent b8a991a665
commit 6f52b06f9f
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import fs from "node:fs/promises";
import path from "node:path";
import { resolveStateDir } from "../config/paths.js";
export type CrestodianAuditEntry = {
type CrestodianAuditEntry = {
timestamp: string;
operation: string;
summary: string;

View File

@@ -7,7 +7,7 @@ import {
} from "./operations.js";
import { loadCrestodianOverview, type CrestodianOverview } from "./overview.js";
export type CrestodianDialogueOptions = {
type CrestodianDialogueOptions = {
loadOverview?: typeof loadCrestodianOverview;
planWithAssistant?: CrestodianAssistantPlanner;
};

View File

@@ -5,7 +5,7 @@ import {
type FutureConfigActionBlock,
} from "../config/future-version-guard.js";
export async function readFutureConfigActionBlock(
async function readFutureConfigActionBlock(
action: string,
): Promise<FutureConfigActionBlock | null> {
try {

View File

@@ -13,7 +13,7 @@ export function resolveHomeDir(env: Record<string, string | undefined>): string
return home;
}
export function resolveUserPathWithHome(input: string, home?: string): string {
function resolveUserPathWithHome(input: string, home?: string): string {
const trimmed = input.trim();
if (!trimmed) {
return trimmed;