Skip to content

Commit

Permalink
Do not skip the first line output of flatpak list
Browse files Browse the repository at this point in the history
`flatpak list` does not output column headers if the stdout is not a TTY.
  • Loading branch information
latin-1 authored and ripytide committed Jan 7, 2025
1 parent 49fe836 commit 7eb1e10
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/backends/flatpak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ impl Backend for Flatpak {
.filter(|(runtime, _)| {
sys_explicit_runtimes_installed
.lines()
.skip(1)
.map(|x| x.trim())
.contains(&runtime.as_str())
});
Expand Down Expand Up @@ -119,7 +118,6 @@ impl Backend for Flatpak {
.filter(|(runtime, _)| {
user_explicit_runtimes_installed
.lines()
.skip(1)
.map(|x| x.trim())
.contains(&runtime.as_str())
});
Expand Down

0 comments on commit 7eb1e10

Please sign in to comment.