};
};
- Ok(if should_install {
+ if should_install {
let src = src_path.join("src").join("etc").join("pre-commit.sh");
let git = t!(Command::new("git").args(&["rev-parse", "--git-common-dir"]).output().map(
|output| {
};
} else {
println!("Ok, skipping installation!");
- })
+ }
+ Ok(())
}