From 85601264dd5b7bf5403cbaf1a9c678dda7a45335 Mon Sep 17 00:00:00 2001 From: Sean McGivern Date: Wed, 1 Mar 2017 11:00:37 +0000 Subject: Enabled and autocorrect the CustomErrorClass cop --- lib/bitbucket/error/unauthorized.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/bitbucket') diff --git a/lib/bitbucket/error/unauthorized.rb b/lib/bitbucket/error/unauthorized.rb index 5e2eb57bb0e..efe10542f19 100644 --- a/lib/bitbucket/error/unauthorized.rb +++ b/lib/bitbucket/error/unauthorized.rb @@ -1,6 +1,5 @@ module Bitbucket module Error - class Unauthorized < StandardError - end + Unauthorized = Class.new(StandardError) end end -- cgit v1.2.1