Skip to content

Commit

Permalink
chore: debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 7, 2024
1 parent 6b06ac9 commit 0075db0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli/hook_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ impl HookEnv {
let watch_files = config.watch_files()?;
time!("hook-env");
if hook_env::should_exit_early(watch_files.clone()) {
trace!("should_exit_early true");
return Ok(());
}
time!("should_exit_early");
time!("should_exit_early false");
let ts = ToolsetBuilder::new().build(&config)?;
let shell = get_shell(self.shell).expect("no shell provided, use `--shell=zsh`");
miseprint!("{}", hook_env::clear_old_env(&*shell))?;
Expand Down

0 comments on commit 0075db0

Please sign in to comment.