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:
authorSean McGivern <sean@gitlab.com>2017-03-01 14:00:37 +0300
committerSean McGivern <sean@gitlab.com>2017-03-01 18:28:10 +0300
commit811e598f607235d89e71d09d99538ee4dee3ffed (patch)
tree7608961ebb9c672836dd2e3f03eb56920e7b4ef3 /lib/gitlab/route_map.rb
parent8dd097a91530e4b047c4b391f21047c7d29d310d (diff)
Enable and autocorrect the CustomErrorClass cop
Diffstat (limited to 'lib/gitlab/route_map.rb')
-rw-r--r--lib/gitlab/route_map.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/route_map.rb b/lib/gitlab/route_map.rb
index 72d00abfcc2..36791fae60f 100644
--- a/lib/gitlab/route_map.rb
+++ b/lib/gitlab/route_map.rb
@@ -1,6 +1,6 @@
module Gitlab
class RouteMap
- class FormatError < StandardError; end
+ FormatError = Class.new(StandardError)
def initialize(data)
begin