diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index dd0a6c0de0d..d6a52b37f19 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -2430,7 +2430,7 @@ class Project < ApplicationRecord if repository_storage.blank? || repository_with_same_path_already_exists? errors.add(:base, _('There is already a repository with that name on disk')) - throw :abort + throw :abort # rubocop:disable Cop/BanCatchThrow end end |