Make Rubocop and Danger happy

This commit is contained in:
Matija Čupić 2018-11-02 14:20:27 +01:00
parent 73e17446ef
commit 8a6a312db8
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE
3 changed files with 5 additions and 1 deletions

View file

@ -781,7 +781,7 @@ module Ci
end
end
def predefined_variables
def predefined_variables # rubocop:disable Metrics/AbcSize
Gitlab::Ci::Variables::Collection.new.tap do |variables|
variables.append(key: 'CI', value: 'true')
variables.append(key: 'GITLAB_CI', value: 'true')

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Gitlab
module Ci
class Config

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'fast_spec_helper'
describe Gitlab::Ci::Config::Normalizer do