Skip to content

Commit e6dc23b

Browse files
committed
Fix CI
Clippy has all features enabled, including the flatpak flag
1 parent aaad2c7 commit e6dc23b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cli/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn parse_path_with_position(
6161

6262
fn main() -> Result<()> {
6363
// Exit flatpak sandbox
64-
#[cfg(feature = "flatpak")]
64+
#[cfg(all(feature = "flatpak", target_os = "linux"))]
6565
flatpak::restart_to_host();
6666

6767
// Intercept version designators
@@ -279,7 +279,7 @@ mod linux {
279279
}
280280
}
281281

282-
#[cfg(feature = "flatpak")]
282+
#[cfg(all(feature = "flatpak", target_os = "linux"))]
283283
mod flatpak {
284284
use std::ffi::OsString;
285285
use std::path::PathBuf;

0 commit comments

Comments
 (0)