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
resourcePath will console.log as C:/Users/username/AppData/Roaming/mf/projects/empty/source/**/*.*
This throws the following:
UnhandledPromiseRejectionWarning: Error: Cannot delete files/directories outside the current working directory. Can be overridden with the force option.
I'm not sure if there's a way to specify a relative folder location and then the glob pattern separately to avoid this?
The text was updated successfully, but these errors were encountered:
I am trying to delete all the files (but not the directories) in a nested directory structure.
Here's my code
resourcePath will console.log as
C:/Users/username/AppData/Roaming/mf/projects/empty/source/**/*.*
This throws the following:
I'm not sure if there's a way to specify a relative folder location and then the glob pattern separately to avoid this?
The text was updated successfully, but these errors were encountered: