mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +00:00
fix: ansi logging (#879)
This commit is contained in:
parent
410b0bb217
commit
3064975afd
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