Skip to content

Commit

Permalink
Fix VCS type ignorance
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero-Tang committed Oct 25, 2024
1 parent 895a6df commit b935d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ fn main()
};
}
// Create the crate.
let cargo_out = Command::new("cargo").args(["new", crate_name.as_str(), "--lib"]).status();
let cargo_out = Command::new("cargo").args(["new", crate_name.as_str(), "--lib", "--vcs", vcs_type.as_str()]).status();
handle_process_output!(cargo_out);
// Switch directory.
let r = set_current_dir(crate_name.as_str());
Expand Down

0 comments on commit b935d13

Please sign in to comment.