mirror of
https://github.com/actions/runner.git
synced 2025-12-11 21:06:55 +00:00
Fix IDE0090 (#2211)
This commit is contained in:
@@ -81,7 +81,7 @@ namespace GitHub.Runner.Common
|
||||
}
|
||||
|
||||
// Trace whether a value was entered.
|
||||
string val = new String(chars.ToArray());
|
||||
string val = new(chars.ToArray());
|
||||
if (!string.IsNullOrEmpty(val))
|
||||
{
|
||||
HostContext.SecretMasker.AddValue(val);
|
||||
|
||||
Reference in New Issue
Block a user