15 lines
496 B
JavaScript
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 }; |