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
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 paramspathinrimrafSync(''),this params can not be an empty string.it is to dangerous