Skip to content

Commit

Permalink
Use current_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Aug 14, 2024
1 parent e89695a commit 7264c5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ fn main() -> Result<()> {
.filter_module("xtask", log::LevelFilter::Info)
.init();

let workspace = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
let workspace = workspace.parent().unwrap().canonicalize()?;
let workspace = std::env::current_dir()?;

match Cli::parse() {
Cli::BuildDocumentation(args) => build_documentation(&workspace, args),
Expand Down

0 comments on commit 7264c5f

Please sign in to comment.