You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 paramspath
inrimrafSync('')
,this params can not be an empty string.it is to dangerousThe text was updated successfully, but these errors were encountered: