Fix flatpak-list skipping the first entry
This commit is contained in:
@@ -56,7 +56,6 @@ impl Flatpak {
|
|||||||
let output = String::from_utf8(cmd.output()?.stdout)?;
|
let output = String::from_utf8(cmd.output()?.stdout)?;
|
||||||
Ok(
|
Ok(
|
||||||
output.lines()
|
output.lines()
|
||||||
.skip(1)
|
|
||||||
.map(|pkg| Package::from(pkg))
|
.map(|pkg| Package::from(pkg))
|
||||||
.collect::<HashSet<Package>>()
|
.collect::<HashSet<Package>>()
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user