mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Improve action log display with control chars (#23820)
Close #23680 Some CLI programs use "\r" and control chars to print new content in current line. So, the strings in one line are actually from `\rReading...1%\rReading...5%\rReading...100%` This PR tries to make the output better.
This commit is contained in:
@@ -2,6 +2,7 @@ import {defineConfig} from 'vitest/dist/config.js';
|
||||
import {readFile} from 'node:fs/promises';
|
||||
import {dataToEsm} from '@rollup/pluginutils';
|
||||
import {extname} from 'node:path';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
|
||||
function stringPlugin() {
|
||||
return {
|
||||
@@ -28,5 +29,6 @@ export default defineConfig({
|
||||
},
|
||||
plugins: [
|
||||
stringPlugin(),
|
||||
vue(),
|
||||
],
|
||||
});
|
||||
|
Reference in New Issue
Block a user