Skip to content

Zenstack deleted all my code projects #1628

@james-tindal

Description

@james-tindal

Description
I ran this
npx zenstack generate --schema schema/main.zmodel --output ..
It deleted everything in the directory above the current directory.

Expected behavior
I didn't expect it delete all my files.

It should check the output directory does not include the whole project before deleting it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions