mirror of
https://github.com/actions/runner.git
synced 2025-12-12 15:13:30 +00:00
Add helpful error message for null steps
This commit is contained in:
@@ -419,6 +419,7 @@ namespace GitHub.Runner.Worker
|
||||
{
|
||||
if (stepsLoaded == null)
|
||||
{
|
||||
// TODO: Add a more helpful error message + including file name, etc. to show user that it's because of their yaml file
|
||||
throw new ArgumentNullException($"No steps provided.");
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user