Skip to content

rimraf params validate problem #326

Description

@zuishuaicc

i use rimraf to remove specified file,but i used like this rimrafSync('') unexpectedly,then, all files under my project was deleted,i think ,is it necessary to validate the params path in rimrafSync('') ,this params can not be an empty string.it is to dangerous

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions