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

createConfig overwrites existing files silently #51

Open
beauraines opened this issue Jul 8, 2023 · 0 comments
Open

createConfig overwrites existing files silently #51

beauraines opened this issue Jul 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@beauraines
Copy link
Owner

The config.createConfig() command will silently overwrite an existing configuration file. This should check for an existing file and throw an error.

Additionally,

  1. the JSON should be written with newlines, to make it easier for the user to edit the file.
  2. the createConfig() should return something on success, maybe the filename created.
@beauraines beauraines added the bug Something isn't working label Sep 30, 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
Projects
None yet
Development

No branches or pull requests

1 participant