gitlab: Fix detection of private repositories

This commit is contained in:
2022-05-27 23:37:54 +02:00
parent bc3d4e1c49
commit df39bb3076

View File

@@ -57,7 +57,7 @@ impl Project for GitlabProject {
} }
fn private(&self) -> bool { fn private(&self) -> bool {
matches!(self.visibility, GitlabVisibility::Private) !matches!(self.visibility, GitlabVisibility::Public)
} }
} }