Skip to content

Commit

Permalink
always use dunce::canonicalize
Browse files Browse the repository at this point in the history
  • Loading branch information
tknickman committed Jan 9, 2023
1 parent 250402a commit d834751
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions crates/turborepo-lib/src/shim.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#[cfg(not(windows))]
use std::fs::canonicalize as fs_canonicalize;
use std::{
env,
env::current_dir,
Expand All @@ -13,7 +12,6 @@ use std::{

use anyhow::{anyhow, Result};
use chrono::offset::Local;
#[cfg(windows)]
use dunce::canonicalize as fs_canonicalize;
use env_logger::{fmt::Color, Builder, Env, WriteStyle};
use log::{debug, Level, LevelFilter};
Expand Down
3 changes: 1 addition & 2 deletions crates/turborepo/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::{env::current_exe, fs::canonicalize as fs_canonicalize, process, process::Stdio};
use std::{env::current_exe, process, process::Stdio};

use anyhow::Result;
#[cfg(windows)]
use dunce::canonicalize as fs_canonicalize;
use turborepo_lib::{Args, Payload};

Expand Down

0 comments on commit d834751

Please sign in to comment.