aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository/vcs_repository.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/repository/vcs_repository.rs')
-rw-r--r--crates/shirabe/src/repository/vcs_repository.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/src/repository/vcs_repository.rs b/crates/shirabe/src/repository/vcs_repository.rs
index 7a570c6..9a39b76 100644
--- a/crates/shirabe/src/repository/vcs_repository.rs
+++ b/crates/shirabe/src/repository/vcs_repository.rs
@@ -520,7 +520,7 @@ impl VcsRepository {
)
.into(),
),
- ) {
+ )? {
if is_very_verbose {
self.io.write_error(&format!(
"<warning>Skipped tag {}, it conflicts with an another tag ({}) as both resolve to {} internally</warning>",
@@ -763,7 +763,7 @@ impl VcsRepository {
.overwrite_error4("", false, None, io_interface::NORMAL);
}
- if self.inner.get_packages().is_empty() {
+ if self.inner.get_packages()?.is_empty() {
return Err(InvalidRepositoryException::new(format!(
"No valid composer.json was found in any branch or tag of {}, could not load a package from it.",
self.url
@@ -948,7 +948,7 @@ impl VcsRepository {
SimpleConstraint::new("=".to_string(), version_normalized.to_string(), None)
.into(),
),
- ) {
+ )? {
if is_very_verbose {
self.io.write_error(&format!(
"<warning>Skipped cached version {}, it conflicts with an another tag ({}) as both resolve to {} internally</warning>",