job: filter out empty lines from .lohr file
This commit is contained in:
parent
1be64262b2
commit
209e1e58c7
|
@ -125,7 +125,13 @@ impl Job {
|
|||
|
||||
let output = String::from_utf8(output.stdout)?;
|
||||
|
||||
Ok(Some(output.lines().map(String::from).collect()))
|
||||
Ok(Some(
|
||||
output
|
||||
.lines()
|
||||
.map(String::from)
|
||||
.filter(|s| !s.is_empty())
|
||||
.collect(),
|
||||
))
|
||||
}
|
||||
|
||||
fn get_remotes(&self, config: &GlobalSettings) -> anyhow::Result<Vec<RepoUrl>> {
|
||||
|
|
Loading…
Reference in a new issue