summaryrefslogtreecommitdiff
path: root/lib/ci
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 11:00:37 +0000
commit85601264dd5b7bf5403cbaf1a9c678dda7a45335 (patch)
tree7608961ebb9c672836dd2e3f03eb56920e7b4ef3 /lib/ci
parent8dd097a91530e4b047c4b391f21047c7d29d310d (diff)
downloadgitlab-ce-custom-empty-exception-class-cop.tar.gz
Enabled and autocorrect the CustomErrorClass copcustom-empty-exception-class-cop
Diffstat (limited to 'lib/ci')
-rw-r--r--lib/ci/gitlab_ci_yaml_processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb
index 649ee4d018b..e390919ae1d 100644
--- a/lib/ci/gitlab_ci_yaml_processor.rb
+++ b/lib/ci/gitlab_ci_yaml_processor.rb
@@ -1,6 +1,6 @@
module Ci
class GitlabCiYamlProcessor
- class ValidationError < StandardError; end
+ ValidationError = Class.new(StandardError)
include Gitlab::Ci::Config::Entry::LegacyValidationHelpers