Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect number of parameters is not detected if function name differs in case #64

Closed
StephenWeatherford opened this issue Apr 13, 2018 · 0 comments
Labels
Milestone

Comments

@StephenWeatherford
Copy link
Contributor

Checking for unrecognized functions doesn't care about case:
image

But checking for number of args does:
image
image

EXPECTED: According to https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions:
Template functions and their parameters are case-insensitive. For example, Resource Manager resolves variables('var1') and VARIABLES('VAR1') as the same. When evaluated, unless the function expressly modifies case (such as toUpper or toLower), the function preserves the case. Certain resource types may have case requirements irrespective of how functions are evaluated.

StephenWeatherford added a commit that referenced this issue Apr 17, 2018
Ignore case in all function errors, fixes #64
@StephenWeatherford StephenWeatherford added this to the 0.4.1 milestone Apr 30, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant