diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-15 15:10:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-15 15:10:17 +0300 |
commit | e894595ad8ebdbd565bacaeb126d44f80a636fd8 (patch) | |
tree | 97f898aa3f24b209924bfcee6ee46072807e9b02 /lib/gitlab/ci/mask_secret.rb | |
parent | a79324ad1f94b0c497a89c1ee35bd7d33f318008 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/mask_secret.rb')
-rw-r--r-- | lib/gitlab/ci/mask_secret.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/ci/mask_secret.rb b/lib/gitlab/ci/mask_secret.rb index e5a7151b823..062ced9e234 100644 --- a/lib/gitlab/ci/mask_secret.rb +++ b/lib/gitlab/ci/mask_secret.rb @@ -9,11 +9,7 @@ module Gitlab # We assume 'value' must be mutable, given # that frozen string is enabled. - ## - # TODO We need to remove this because it is going to change checksum of - # a trace. - # - value.gsub!(token, 'x' * token.length) + value.gsub!(token, 'x' * token.bytesize) value end end |