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
You can no longer pass in paths with backward-slashes. If you need to construct a glob pattern, use path.posix.join() instead of path.join(). You can use slash to transform backward-slash paths to forward-slash paths.
var pathTodelete = path.join('platforms', platform ,'app');
del.sync(pathToDelete]); // will do nothing even if the path does not have patterns
var pathTodelete = path.posix.join('platforms', platform ,'app');
del.sync(pathToDelete]);//works fine
del version 5.0.0
node version 10.16.2
The text was updated successfully, but these errors were encountered: