mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-13 07:14:11 +00:00
fix: ansi logging (#880)
This commit is contained in:
parent
5f2733f48a
commit
f2bf5931c2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue