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
{{ message }}
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
Idd. I just gave the remark because I saw error handling on the unlock method in the npm repository, but I knew the error is not passed to the callback.
Why not just pass the unlink error as the second argument to callback instead of the first arg to the callback? or if there are multiple errors, just pass an array of errors as the second arg?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a reason why the unlinkEr is not passed to the callback?
https://github.com/npm/lockfile/blob/master/lockfile.js#L61
The text was updated successfully, but these errors were encountered: