Skip to content

Fix mutation of original command when masking secrets

George Koltsov requested to merge acunskis-fix-command-mutation into master

What does this MR do and why?

On ruby 3, the existing command would be mutated by gsub! which leads to command execution with all of the secrets set to literal *****.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by George Koltsov

Merge request reports