Skip to content

Commit

Permalink
fix some typos in validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Jul 30, 2024
1 parent 0b9519c commit cdcbc12
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Sdk/AzurePipelines/AzureDevops.cs
Original file line number Diff line number Diff line change
Expand Up @@ -729,11 +729,11 @@ public static string RelativeTo(string cwd, string filename) {
.Concat(token.TraverseByPattern(new [] { "stages", "*", "jobs", "*" }).Select(e => (e, "job-template-root")))
.Concat(token.TraverseByPattern(new [] { "steps", "*" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "jobs", "*", "steps", "*" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "jobs", "*", "strategy", "", "steps", "*", "condition" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "jobs", "*", "strategy", "on", "", "steps", "*", "condition" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "jobs", "*", "strategy", "", "steps", "*"}).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "jobs", "*", "strategy", "on", "", "steps", "*" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "steps", "*" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "", "steps", "*", "condition" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "on", "", "steps", "*", "condition" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "", "steps", "*" }).Select(e => (e, "step-template-root")))
.Concat(token.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "on", "", "steps", "*" }).Select(e => (e, "step-template-root")))
)
{
await processTemplates(templateContext, fileId, cCtx, extends, schema);
Expand Down Expand Up @@ -841,8 +841,8 @@ static async Task processTemplates(TemplateContext templateContext, int fileId,
return ret;
}
return ret
.Concat(val.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "", "steps", "*", "condition" }.Skip(s).ToArray()).Select(e => (e, "step-template-root")))
.Concat(val.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "on", "", "steps", "*", "condition" }.Skip(s).ToArray()).Select(e => (e, "step-template-root")));
.Concat(val.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "", "steps", "*" }.Skip(s).ToArray()).Select(e => (e, "step-template-root")))
.Concat(val.TraverseByPattern(new [] { "stages", "*", "jobs", "*", "strategy", "on", "", "steps", "*" }.Skip(s).ToArray()).Select(e => (e, "step-template-root")));
};

foreach(var (tkn, sh) in jobDeps(start.Value))
Expand Down

0 comments on commit cdcbc12

Please sign in to comment.