diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-29 13:02:35 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-29 13:02:35 +0800 |
| commit | 8dfdc48d8d781f47d4a3206a1b8400110b593045 (patch) | |
| tree | 10ba403412e57fb0c2b44bb3711f334ddcd03f66 /dev_tools/src | |
| parent | 6985a2947681adae9af492c7ecced48633ab773a (diff) | |
refactor: indent parallel task output lines
Diffstat (limited to 'dev_tools/src')
| -rw-r--r-- | dev_tools/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev_tools/src/lib.rs b/dev_tools/src/lib.rs index bb4a7d9..d38a156 100644 --- a/dev_tools/src/lib.rs +++ b/dev_tools/src/lib.rs @@ -255,7 +255,9 @@ pub fn run_parallel(phase: &str, tasks: Vec<(String, String, String)>) -> Result code, )); if !output.is_empty() { - pb.println(output.trim_end()); + for line in output.lines() { + pb.println(format!(" {line}")); + } } } } |
