feat(server): don't log validation ok
All checks were successful
Rust / build (push) Successful in 1m16s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful

This commit is contained in:
Paul Campbell 2024-05-18 22:28:51 +01:00
parent ee83def127
commit 9d0f2d1ba1
2 changed files with 1 additions and 3 deletions

View file

@ -140,7 +140,6 @@ pub async fn validate_positions(
);
return Err(Error::BranchHasNoCommits(repo_config.branches().dev()));
};
info!("Validation - OK");
Ok(ValidatedPositions {
main,

View file

@ -139,8 +139,7 @@ impl super::ForgeLike for ForgeJoEnv {
};
info!("Validating...");
git::validate(&repository, &self.repo_details)
.map_err(|e| git::repository::Error::Validation(e.to_string()))
.inspect(|_| info!("Validation - OK"))?;
.map_err(|e| git::repository::Error::Validation(e.to_string()))?;
Ok(repository)
}
}