summaryrefslogtreecommitdiff
path: root/lib/gitlab/update_path_error.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-03-01 11:00:37 +0000
committerSean McGivern <sean@gitlab.com>2017-03-01 15:28:10 +0000
commit811e598f607235d89e71d09d99538ee4dee3ffed (patch)
tree7608961ebb9c672836dd2e3f03eb56920e7b4ef3 /lib/gitlab/update_path_error.rb
parent8dd097a91530e4b047c4b391f21047c7d29d310d (diff)
downloadgitlab-ce-811e598f607235d89e71d09d99538ee4dee3ffed.tar.gz
Enable and autocorrect the CustomErrorClass cop
Diffstat (limited to 'lib/gitlab/update_path_error.rb')
-rw-r--r--lib/gitlab/update_path_error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/update_path_error.rb b/lib/gitlab/update_path_error.rb
index ce14cc887d0..8947ecfb92e 100644
--- a/lib/gitlab/update_path_error.rb
+++ b/lib/gitlab/update_path_error.rb
@@ -1,3 +1,3 @@
module Gitlab
- class UpdatePathError < StandardError; end
+ UpdatePathError = Class.new(StandardError)
end