Skip to content

Commit

Permalink
Fix unused import on non-Windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Aug 30, 2024
1 parent f70b904 commit 8472447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gix-path/src/env/git/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use std::env;
use std::path::{Path, PathBuf};
use std::process::{Command, Stdio};

Expand Down Expand Up @@ -112,6 +111,7 @@ fn git_cmd(executable: PathBuf) -> Command {

#[cfg(windows)]
{
use std::env;
use std::os::windows::process::CommandExt;
const CREATE_NO_WINDOW: u32 = 0x08000000;
cmd.creation_flags(CREATE_NO_WINDOW);
Expand Down

0 comments on commit 8472447

Please sign in to comment.