This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/openclaw/dist/logging-CLCWl7Iu.js
T

15 lines
496 B
JavaScript

import { t as CONFIG_PATH } from "./paths-BDd7_JUB.js";
import { a as displayPath } from "./utils-Dg0Xbl6w.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 };