Make Rubocop and Danger happy
This commit is contained in:
parent
73e17446ef
commit
8a6a312db8
3 changed files with 5 additions and 1 deletions
|
@ -781,7 +781,7 @@ module Ci
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def predefined_variables
|
def predefined_variables # rubocop:disable Metrics/AbcSize
|
||||||
Gitlab::Ci::Variables::Collection.new.tap do |variables|
|
Gitlab::Ci::Variables::Collection.new.tap do |variables|
|
||||||
variables.append(key: 'CI', value: 'true')
|
variables.append(key: 'CI', value: 'true')
|
||||||
variables.append(key: 'GITLAB_CI', value: 'true')
|
variables.append(key: 'GITLAB_CI', value: 'true')
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Gitlab
|
module Gitlab
|
||||||
module Ci
|
module Ci
|
||||||
class Config
|
class Config
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'fast_spec_helper'
|
require 'fast_spec_helper'
|
||||||
|
|
||||||
describe Gitlab::Ci::Config::Normalizer do
|
describe Gitlab::Ci::Config::Normalizer do
|
||||||
|
|
Loading…
Reference in a new issue