cody icon indicating copy to clipboard operation
cody copied to clipboard

bug: Can't generate commands on an empty cody.json file

Open ajaynz opened this issue 1 year ago • 0 comments

Version

1.1.15

Describe the bug

I tried creating a Cody command using the wizard in VS Code extension on a clean install with an empty json file

VS Code extension doesn't save the command in the generated file if the file is empty. However if the json file has commands stored or has an empty {} the extension does save new commands.

Expected behavior

Cody should be able to save commands created via the wizard in the json file

Additional context

No response

ajaynz avatar May 10 '24 11:05 ajaynz