Skip to content

Commit ff6fd69

Browse files
Fix a warning about an unused import on macOS
1 parent 4396051 commit ff6fd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use crate::expand::{
55
PROCESS_EXPAND_SELF, PROCESS_EXPAND_SELF_STR, VARIABLE_EXPAND, VARIABLE_EXPAND_SINGLE,
66
};
77
use crate::fallback::fish_wcwidth;
8-
use crate::flog::FLOG;
98
use crate::future_feature_flags::{feature_test, FeatureFlag};
109
use crate::global_safety::AtomicRef;
1110
use crate::global_safety::RelaxedAtomicBool;
@@ -1696,6 +1695,7 @@ pub fn is_windows_subsystem_for_linux() -> bool {
16961695
// this check: if the environment variable FISH_NO_WSL_CHECK is present, this test
16971696
// is bypassed. We intentionally do not include this in the error message because
16981697
// it'll only allow fish to run but not to actually work. Here be dragons!
1698+
use crate::flog::FLOG;
16991699
if env::var_os("FISH_NO_WSL_CHECK").is_none() {
17001700
FLOG!(
17011701
error,

0 commit comments

Comments
 (0)