You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Regenerating params in VS code when the bicepparam file exists produces the following error message:
8:17:19 PM: Generating parameters file failed. The file "main.bicepparam" already exists but does not contain the schema for a parameters file. If overwriting the file is intended, delete it manually and retry the Generate Parameters command.
To Reproduce
Create an empty bicep file and save it
Right click on the editor tab and then click "Generate Parameters File"
Choose bicepparam and all (the 2nd choice doesn't matter)
Param generation should succeed.
Repeat 2 and 3
Now you should get the message above
Additional context
A valid bicepparam file will never contain the JSON param schema anywhere. We should not be checking for that. I suspect we're reusing the JSON param logic incorrectly.
The text was updated successfully, but these errors were encountered:
Bicep version
0.32.4
Describe the bug
Regenerating params in VS code when the bicepparam file exists produces the following error message:
To Reproduce
Additional context
A valid bicepparam file will never contain the JSON param schema anywhere. We should not be checking for that. I suspect we're reusing the JSON param logic incorrectly.
The text was updated successfully, but these errors were encountered: