Skip to content

Commit

Permalink
fix: avoid race of rustc and rustfmt
Browse files Browse the repository at this point in the history
Fixes #9
  • Loading branch information
drahnr committed Mar 2, 2024
1 parent bff5f08 commit c000a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ fn expand_to_file(
.arg(format!("--edition={}", edition))
.arg(&dest)
.current_dir(cwd)
.spawn()?;
.status()?;
}

let dest = dest.display().to_string();
Expand Down

0 comments on commit c000a68

Please sign in to comment.