mirror of
https://github.com/actions/runner.git
synced 2026-01-03 08:28:14 +08:00
Fix IDE0090 (#2211)
This commit is contained in:
@@ -27,7 +27,7 @@ namespace GitHub.Runner.Common.Tests.Worker
|
||||
private TestHostContext CreateTestContext([CallerMemberName] String testName = "")
|
||||
{
|
||||
var hc = new TestHostContext(this, testName);
|
||||
Dictionary<string, VariableValue> variablesToCopy = new Dictionary<string, VariableValue>();
|
||||
Dictionary<string, VariableValue> variablesToCopy = new();
|
||||
_variables = new Variables(
|
||||
hostContext: hc,
|
||||
copy: variablesToCopy);
|
||||
|
||||
Reference in New Issue
Block a user