Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Dec 13, 2024
1 parent 3d28d50 commit e96f70d
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 @@ -93,7 +93,7 @@ fn execute_hook(hook: &HookFile, output_dir: &PathBuf) -> Result<()> {
if output_dir.exists() {
command.current_dir(output_dir);
}
let code = StdCommand::new(hook.path()).status()?;
let code = command.status()?;
if code.success() {
Ok(())
} else {
Expand Down

0 comments on commit e96f70d

Please sign in to comment.