We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6e1e3 commit dbe3acfCopy full SHA for dbe3acf
src/bootstrap/setup.rs
@@ -198,7 +198,7 @@ simply delete the `pre-commit` file from .git/hooks."
198
};
199
200
201
- Ok(if should_install {
+ if should_install {
202
let src = src_path.join("src").join("etc").join("pre-commit.sh");
203
let git = t!(Command::new("git").args(&["rev-parse", "--git-common-dir"]).output().map(
204
|output| {
@@ -217,5 +217,6 @@ simply delete the `pre-commit` file from .git/hooks."
217
218
} else {
219
println!("Ok, skipping installation!");
220
- })
+ }
221
+ Ok(())
222
}
0 commit comments