diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-01 14:00:37 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-03-01 18:28:10 +0300 |
commit | 811e598f607235d89e71d09d99538ee4dee3ffed (patch) | |
tree | 7608961ebb9c672836dd2e3f03eb56920e7b4ef3 /lib/gitlab/access.rb | |
parent | 8dd097a91530e4b047c4b391f21047c7d29d310d (diff) |
Enable and autocorrect the CustomErrorClass cop
Diffstat (limited to 'lib/gitlab/access.rb')
-rw-r--r-- | lib/gitlab/access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/access.rb b/lib/gitlab/access.rb index 3b210eeda9d..8c28009b9c6 100644 --- a/lib/gitlab/access.rb +++ b/lib/gitlab/access.rb @@ -5,7 +5,7 @@ # module Gitlab module Access - class AccessDeniedError < StandardError; end + AccessDeniedError = Class.new(StandardError) NO_ACCESS = 0 GUEST = 10 |