summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2019-04-26 14:30:40 -0400
committerMatija Čupić <matteeyah@gmail.com>2019-04-26 15:20:47 -0400
commit07b5c50381884e06322a0dea3363f87bf62f399a (patch)
tree2ba69dd8cb7c7ffb669329e689fd713970f0a781 /lib
parent265b789476479c29ea88db174aca1d80ddf24358 (diff)
downloadgitlab-ce-07b5c50381884e06322a0dea3363f87bf62f399a.tar.gz
Remove variable masking feature flag
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/variables/collection/item.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/ci/variables/collection/item.rb b/lib/gitlab/ci/variables/collection/item.rb
index 833aa75adb5..aab10aef398 100644
--- a/lib/gitlab/ci/variables/collection/item.rb
+++ b/lib/gitlab/ci/variables/collection/item.rb
@@ -27,13 +27,9 @@ module Gitlab
# don't expose `file` attribute at all (stems from what the runner
# expects).
#
- # If the `variable_masking` feature is enabled we expose the `masked`
- # attribute, otherwise it's not exposed.
- #
def to_runner_variable
@variable.reject do |hash_key, hash_value|
- (hash_key == :file && hash_value == false) ||
- (hash_key == :masked && !Feature.enabled?(:variable_masking))
+ hash_key == :file && hash_value == false
end
end