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

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

Open
ajaynz opened this issue May 10, 2024 · 0 comments
Open

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

ajaynz opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working clients/vscode cody

Comments

@ajaynz
Copy link

ajaynz commented May 10, 2024

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 ajaynz added bug Something isn't working clients/vscode labels May 10, 2024
@github-actions github-actions bot added the cody label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working clients/vscode cody
Projects
None yet
Development

No branches or pull requests

1 participant