mirror of
https://github.com/actions/runner.git
synced 2025-12-14 22:24:11 +00:00
Fix IDE0090 (#2211)
This commit is contained in:
@@ -26,7 +26,7 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
public sealed class RunnerPluginManager : RunnerService, IRunnerPluginManager
|
||||
{
|
||||
private readonly Dictionary<string, RunnerPluginActionInfo> _actionPlugins = new Dictionary<string, RunnerPluginActionInfo>(StringComparer.OrdinalIgnoreCase)
|
||||
private readonly Dictionary<string, RunnerPluginActionInfo> _actionPlugins = new(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
{
|
||||
"checkout",
|
||||
@@ -97,7 +97,7 @@ namespace GitHub.Runner.Worker
|
||||
string arguments = $"action \"{plugin}\"";
|
||||
|
||||
// construct plugin context
|
||||
RunnerActionPluginExecutionContext pluginContext = new RunnerActionPluginExecutionContext
|
||||
RunnerActionPluginExecutionContext pluginContext = new()
|
||||
{
|
||||
Inputs = inputs,
|
||||
Endpoints = context.Global.Endpoints,
|
||||
|
||||
Reference in New Issue
Block a user