mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-07-31 23:19:04 +00:00
fix: ansi logging (#879)
This commit is contained in:
parent
410b0bb217
commit
3064975afd
@ -67,7 +67,7 @@ export default defineComponent({
|
||||
const repo = inject<Ref<Repo>>('repo');
|
||||
const buildProc = useBuildProc();
|
||||
|
||||
const ansiConvert = new AnsiConvert();
|
||||
const ansiConvert = new AnsiConvert({ escapeXML: true });
|
||||
const logLines = computed(() => buildProc.logs.value?.map((l) => ({ ...l, out: ansiConvert.toHtml(l.out) })));
|
||||
const proc = computed(() => build.value && findProc(build.value.procs || [], procId.value));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user