Closed thomhurst closed 1 year ago
Thanks for reporting!
Also sort of related to this: https://github.com/sharpliner/sharpliner/issues/125
I see the problem. This is not about having ${{
inside of another one. I think we're actually stripping that somewhere but might have got broken with the apostrophe we've added in the last version.
Yeah, I think we broke this piece of logic with the apostrophes: https://github.com/sharpliner/sharpliner/blob/4c3a5f736c4759bc76dd7ef026cd86e813bb58d6/src/Sharpliner/AzureDevOps/ConditionedExpressions/Condition.cs#L59
@thomhurst can you please confirm that it works with 1.4.1
?
Yes that worked!
Take this C# code:
This produces the following YAML:
This is incorrect. A valid syntax would be: