Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/list.rb')
-rw-r--r--app/models/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/list.rb b/app/models/list.rb
index b2ba796e3dc..64247fdb983 100644
--- a/app/models/list.rb
+++ b/app/models/list.rb
@@ -97,6 +97,6 @@ class List < ApplicationRecord
private
def can_be_destroyed
- throw(:abort) unless destroyable?
+ throw(:abort) unless destroyable? # rubocop:disable Cop/BanCatchThrow
end
end