Add helpful error message for null steps
Code Scanning - Action / CodeQL-Build (push) Has been cancelled
Code Scanning - Action / CodeQL-Build (push) Has been cancelled
This commit is contained in:
@@ -419,6 +419,7 @@ namespace GitHub.Runner.Worker
|
|||||||
{
|
{
|
||||||
if (stepsLoaded == null)
|
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.");
|
throw new ArgumentNullException($"No steps provided.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user