Adjust import condition fo is_env_var_for_drive.

This commit is contained in:
Zhenping Zhao 2024-12-16 07:19:43 -08:00
parent 709b3afd93
commit 25a2a7a0f9

View file

@ -1,9 +1,11 @@
use crate::completions::{Completer, CompletionOptions, SemanticSuggestion, SuggestionKind};
use nu_engine::{column::get_columns, eval_variable};
use nu_protocol::{
engine::{is_env_var_for_drive, Stack, StateWorkingSet},
engine::{Stack, StateWorkingSet},
Span, Value,
};
#[cfg(windows)]
use nu_protocol::engine::is_env_var_for_drive;
use reedline::Suggestion;
use std::str;