diff --git a/crates/nu-command/src/system/run_external.rs b/crates/nu-command/src/system/run_external.rs index ceb53baed..375b5a808 100644 --- a/crates/nu-command/src/system/run_external.rs +++ b/crates/nu-command/src/system/run_external.rs @@ -13,7 +13,9 @@ use nu_protocol::{Category, Example, ListStream, PipelineData, RawStream, Span, use itertools::Itertools; use nu_engine::CallExt; -use nu_system::external_process_setup::{reset_foreground_id, set_foreground, prepare_to_foreground}; +use nu_system::external_process_setup::{ + prepare_to_foreground, reset_foreground_id, set_foreground, +}; use pathdiff::diff_paths; use regex::Regex; diff --git a/crates/nu-system/src/lib.rs b/crates/nu-system/src/lib.rs index ce228c782..0fc41a54e 100644 --- a/crates/nu-system/src/lib.rs +++ b/crates/nu-system/src/lib.rs @@ -1,15 +1,15 @@ +mod foreground; #[cfg(any(target_os = "android", target_os = "linux"))] mod linux; #[cfg(target_os = "macos")] mod macos; #[cfg(target_os = "windows")] mod windows; -mod foreground; +pub use self::foreground::external_process_setup; #[cfg(any(target_os = "android", target_os = "linux"))] pub use self::linux::*; #[cfg(target_os = "macos")] pub use self::macos::*; #[cfg(target_os = "windows")] pub use self::windows::*; -pub use self::foreground::external_process_setup;