Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Aug 14, 2022
1 parent a78575f commit 8bf7afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/util/vcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn existing_vcs_repo(path: &Path, cwd: &Path) -> bool {
fn in_git_repo(path: &Path, cwd: &Path) -> bool {
let mut first_exist_base_path = Some(path);
while let Some(p) = first_exist_base_path {
if p.exists(){
if p.exists() {
break;
}
first_exist_base_path = p.parent();
Expand Down

0 comments on commit 8bf7afe

Please sign in to comment.