Skip to content

Commit

Permalink
fix: ansi logging (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten authored Apr 13, 2022
1 parent 5f2733f commit f2bf593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/repo/build/BuildLog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f2bf593

Please # to comment.