@gguf/claw
Version:
WhatsApp gateway CLI (Baileys web) with Pi RPC agent
15 lines (13 loc) • 496 B
JavaScript
import { t as CONFIG_PATH } from "./paths-scjhy7N2.js";
import { a as displayPath } from "./utils-CKSrBNwq.js";
//#region src/config/logging.ts
function formatConfigPath(path = CONFIG_PATH) {
return displayPath(path);
}
function logConfigUpdated(runtime, opts = {}) {
const path = formatConfigPath(opts.path ?? CONFIG_PATH);
const suffix = opts.suffix ? ` ${opts.suffix}` : "";
runtime.log(`Updated ${path}${suffix}`);
}
//#endregion
export { logConfigUpdated as n, formatConfigPath as t };