mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Remove unused parameter
AllowExpressions was always false
This commit is contained in:
@@ -325,16 +325,10 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
|
||||
|
||||
internal static List<KeyValuePair<String, JobContainer>> ConvertToJobServiceContainers(
|
||||
TemplateContext context,
|
||||
TemplateToken services,
|
||||
bool allowExpressions = false)
|
||||
TemplateToken services)
|
||||
{
|
||||
var result = new List<KeyValuePair<String, JobContainer>>();
|
||||
|
||||
if (allowExpressions && services.Traverse().Any(x => x is ExpressionToken))
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
var servicesMapping = services.AssertMapping("services");
|
||||
|
||||
foreach (var servicePair in servicesMapping)
|
||||
|
||||
Reference in New Issue
Block a user