Skip to content

Directory not empty error #5

@fadi-wissa

Description

@fadi-wissa

First time I run the merge() command it merges into a new directory.
Second time I run it with the directory now existing, I get the following error:

Error: ENOTEMPTY: directory not empty, rmdir 'src/components'
    at Object.fs.rmdirSync (fs.js:866:18)

I can manually delete the directory between the 2 runs, but would be better if this is provided as an option, like "overwrite".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions