mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
revert back
This commit is contained in:
@@ -31,6 +31,7 @@ namespace GitHub.DistributedTask.ObjectTemplating
|
||||
Boolean omitHeader = false)
|
||||
{
|
||||
TemplateToken result;
|
||||
|
||||
if (!omitHeader)
|
||||
{
|
||||
if (fileId != null)
|
||||
|
||||
@@ -166,6 +166,7 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
|
||||
if (token != null && token.Type != TokenType.Null)
|
||||
{
|
||||
var context = CreateContext(null, null, setMissingContext: false);
|
||||
// TODO: we might want to to have a bool to prevent it from filling in with missing context w/ dummy variables
|
||||
try
|
||||
{
|
||||
token = TemplateEvaluator.Evaluate(context, PipelineTemplateConstants.StepsInTemplate, token, 0, null, omitHeader: true);
|
||||
|
||||
Reference in New Issue
Block a user