diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-11-21 23:15:24 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-11-22 00:59:38 +0800 |
commit | 45568bed36095db0df94cf89a8a04458f56f33dc (patch) | |
tree | c6655290f3fbf1342650b934cdaf7de65326260a /lib | |
parent | ffec300b9495f0fe022e777c889407433217497e (diff) | |
download | gitlab-ce-45568bed36095db0df94cf89a8a04458f56f33dc.tar.gz |
Updates based on feedback
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/config/entry/configurable.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/ci/config/entry/configurable.rb b/lib/gitlab/ci/config/entry/configurable.rb index 63b803c15af..db47c2f6185 100644 --- a/lib/gitlab/ci/config/entry/configurable.rb +++ b/lib/gitlab/ci/config/entry/configurable.rb @@ -59,13 +59,13 @@ module Gitlab def helpers(*nodes) nodes.each do |symbol| define_method("#{symbol}_defined?") do - @entries[symbol]&.specified? + entries[symbol]&.specified? end define_method("#{symbol}_value") do - return unless @entries[symbol] && @entries[symbol].valid? + return unless entries[symbol] && entries[symbol].valid? - @entries[symbol].value + entries[symbol].value end end end |