Commit graph

4 commits

Author SHA1 Message Date
Dylan Griffith
66d41d2c22 Handle all YAML parser exceptions in .gitlab-ci.yml (fixes #41209)
- Move the exception handling as close to the source as possible to
avoid leaking Psych ahstraction
- Also remove unnecessary rescue all statement from LintsController.
This should not be necessary anymore since any YAML errors should all be
caught by the #validation_message method.
2018-02-07 10:09:01 +11:00
Sean McGivern
811e598f60 Enable and autocorrect the CustomErrorClass cop 2017-03-01 15:28:10 +00:00
Grzegorz Bizon
5ef104df59 Improve Ci config loader by changing method signature 2016-06-07 12:53:46 +02:00
Grzegorz Bizon
23030439c2 Rename class that loads CI configuration to Loader 2016-06-06 08:20:55 +02:00
Renamed from lib/gitlab/ci/config/parser.rb (Browse further)