Skip to content

Commit

Permalink
Merge pull request loco-rs#511 from RobertChang0722/fix/create-loco-g…
Browse files Browse the repository at this point in the history
…it-error

Remove the tracing::field::debug method of is_a_git_repo function
  • Loading branch information
jondot authored Mar 24, 2024
2 parents 4acd4f4 + 51e0362 commit ddf5956
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions loco-cli/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,6 @@ pub fn is_a_git_repo(destination_path: &Path) -> eyre::Result<bool> {
if output.status.success() {
Ok(true)
} else {
tracing::error!(
error = tracing::field::debug(output),
"git command returned an error"
);
Ok(false)
}
}
Expand Down

0 comments on commit ddf5956

Please sign in to comment.