Skip to content

Bug: Do not initialize a project inside a non-empty directory to avoid data-loss #104

Description

@ravi688

Problem:
Image accidently initializing a project in an already initialized and worked on project, Files will get overwritten resulting in data-loss.
Solution:
If the target directory is not empty, then the initialization should be immediately aborted and a diagnostic message should be printed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions