forked from kemitix/git-next
feat(server): don't log validation ok
This commit is contained in:
parent
ee83def127
commit
9d0f2d1ba1
2 changed files with 1 additions and 3 deletions
|
@ -140,7 +140,6 @@ pub async fn validate_positions(
|
||||||
);
|
);
|
||||||
return Err(Error::BranchHasNoCommits(repo_config.branches().dev()));
|
return Err(Error::BranchHasNoCommits(repo_config.branches().dev()));
|
||||||
};
|
};
|
||||||
info!("Validation - OK");
|
|
||||||
|
|
||||||
Ok(ValidatedPositions {
|
Ok(ValidatedPositions {
|
||||||
main,
|
main,
|
||||||
|
|
|
@ -139,8 +139,7 @@ impl super::ForgeLike for ForgeJoEnv {
|
||||||
};
|
};
|
||||||
info!("Validating...");
|
info!("Validating...");
|
||||||
git::validate(&repository, &self.repo_details)
|
git::validate(&repository, &self.repo_details)
|
||||||
.map_err(|e| git::repository::Error::Validation(e.to_string()))
|
.map_err(|e| git::repository::Error::Validation(e.to_string()))?;
|
||||||
.inspect(|_| info!("Validation - OK"))?;
|
|
||||||
Ok(repository)
|
Ok(repository)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue