mirror of
https://github.com/actions/runner.git
synced 2025-12-19 00:36:55 +00:00
Allow public SecretMasker constructor to be called with a null IEnumerable<ValueEncoder>
This commit is contained in:
committed by
GitHub
parent
157e03616e
commit
afcca9bfa4
@@ -14,7 +14,7 @@ namespace GitHub.DistributedTask.Logging
|
|||||||
{
|
{
|
||||||
m_originalValueSecrets = new HashSet<ValueSecret>();
|
m_originalValueSecrets = new HashSet<ValueSecret>();
|
||||||
m_regexSecrets = new HashSet<RegexSecret>();
|
m_regexSecrets = new HashSet<RegexSecret>();
|
||||||
m_valueEncoders = new HashSet<ValueEncoder>(encoders);
|
m_valueEncoders = new HashSet<ValueEncoder>(encoders ?? Enumerable.Empty<ValueEncoder>());
|
||||||
m_valueSecrets = new HashSet<ValueSecret>();
|
m_valueSecrets = new HashSet<ValueSecret>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user