Fix typo in error message. (#260)

This commit is contained in:
Tingluo Huang
2020-01-07 15:13:05 -05:00
committed by GitHub
parent 584f6b6ca3
commit 4ab1e645c3

View File

@@ -116,7 +116,7 @@ namespace GitHub.Runner.Worker
if (actionDefinition.Execution == null) if (actionDefinition.Execution == null)
{ {
executionContext.Debug($"Loaded action.yml file: {StringUtil.ConvertToJson(actionDefinition)}"); executionContext.Debug($"Loaded action.yml file: {StringUtil.ConvertToJson(actionDefinition)}");
throw new ArgumentException($"Top level 'run:' section is required for {manifestFile}"); throw new ArgumentException($"Top level 'runs:' section is required for {manifestFile}");
} }
else else
{ {