forked from DGNum/colmena
deployment.rs: Strip line endings for error logs
This commit is contained in:
parent
1125eb6d1b
commit
be8e30cebf
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ pub async fn deploy(tasks: Vec<DeploymentTask>, max_parallelism: Option<usize>,
|
||||||
if let Some(lines) = logs.chunks(10).rev().next() {
|
if let Some(lines) = logs.chunks(10).rev().next() {
|
||||||
println!("Last {} lines of logs:", lines.len());
|
println!("Last {} lines of logs:", lines.len());
|
||||||
for line in lines {
|
for line in lines {
|
||||||
println!("{}", line);
|
println!("{}", line.trim_end());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
println!("The log is empty.");
|
println!("The log is empty.");
|
||||||
|
|
Loading…
Reference in a new issue