Skip to content

Commit f0ae752

Browse files
ankddevlpil
authored andcommitted
refactor: use function in qualified way
1 parent f3a4266 commit f0ae752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-cli/src/dependencies.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use crate::{
3838
TreeOptions,
3939
build_lock::{BuildLock, Guard},
4040
cli,
41-
fs::{self, ProjectIO, get_os},
41+
fs::{self, ProjectIO},
4242
http::HttpClient,
4343
text_layout::space_table,
4444
};
@@ -802,7 +802,7 @@ fn execute_command(command: &mut Command) -> Result<std::process::Output> {
802802
Err(error) => Err(match error.kind() {
803803
ErrorKind::NotFound => Error::ShellProgramNotFound {
804804
program: "git".into(),
805-
os: get_os(),
805+
os: fs::get_os(),
806806
},
807807

808808
other => Error::ShellCommand {

0 commit comments

Comments
 (0)