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
The feature request sounds reasonable, but the implementation you suggested means that the occurrence of this error would still stop other source maps from being uploaded, it would just mean the plugin doesn't report the error.
I think the better thing to do would be for us to update the bugsnag-sourcemaps library (which is what this module delegates the upload task to) and tolerate ENOTEMPTY right where we attempt to remove it.
The change to this logic would look something like:
Hi there,
When I run BugsnagSourceMapUploaderPlugin on Windows, sometimes I encountered
ENOTEMPTY
error.This error occurs when removing not empty directories:
https://github.com/bugsnag/bugsnag-sourcemaps/blob/master/index.js#L345
The root cause of this error is Windows file system and there are no easy solutions.
isaacs/rimraf#72
In my opinion, failure of removing tmp directories is a minor issue. So, I want to ignore this error.
If this plugin provides some error handling option, I can ignore errors.
Modification may be something like this:
What do you think?
The text was updated successfully, but these errors were encountered: