openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
15 lines (14 loc) • 439 B
JavaScript
import { t as note } from "./note-CnLgHvug.mjs";
//#region src/commands/doctor-migration-notes.ts
function noteDoctorMigrationResult(e, { prefix: t = "", changesTitle: n = "Doctor changes" } = {}) {
for (const r of [
"changes",
"notices",
"warnings"
]) {
const i = e[r];
if (i?.length) note(i.map((e) => `${t}${e}`).join("\n"), r === "changes" ? n : `Doctor ${r}`);
}
}
//#endregion
export { noteDoctorMigrationResult as t };