chore: Use new comlexr features

This commit is contained in:
Gerald Pinder 2025-01-28 22:49:46 -05:00
parent 9ce18a2739
commit b41ba22a02
2 changed files with 11 additions and 13 deletions

View file

@ -314,8 +314,7 @@ impl InitCommand {
let dir = self.dir.as_ref().unwrap();
let mut command = cmd!("git", "commit", "-a", "-m", "chore: Initial Commit");
command.current_dir(dir);
let mut command = cmd!(cd dir; "git", "commit", "-a", "-m", "chore: Initial Commit");
trace!("{command:?}");
let status = command
@ -337,8 +336,7 @@ impl InitCommand {
let dir = self.dir.as_ref().unwrap();
let mut command = cmd!("git", "add", ".");
command.current_dir(dir);
let mut command = cmd!(cd dir; "git", "add", ".");
trace!("{command:?}");
let status = command