diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-03 16:53:51 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-03 16:53:51 +0300 |
commit | fc5eb3157082d923b80596485b302504ce0671ea (patch) | |
tree | b56f503648a385b6d6895776bec40d6cebc33c2f /app/controllers/projects/registry | |
parent | baa00d542478759be225a45dc805d0314e1921d2 (diff) |
Fix Rubocop offenses in code related to the registry
Diffstat (limited to 'app/controllers/projects/registry')
-rw-r--r-- | app/controllers/projects/registry/repositories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/registry/repositories_controller.rb b/app/controllers/projects/registry/repositories_controller.rb index ab4344bcf3c..cb1ea45dd04 100644 --- a/app/controllers/projects/registry/repositories_controller.rb +++ b/app/controllers/projects/registry/repositories_controller.rb @@ -31,7 +31,7 @@ module Projects # def ensure_root_container_repository! ContainerRegistry::Path.new(@project.full_path).tap do |path| - return if path.has_repository? + break if path.has_repository? ContainerRepository.build_from_path(path).tap do |repository| repository.save if repository.has_tags? |