Please sign in to comment.
util: don't set the prototype of callbackified functions
Using `util.callbackify()` should not set the prototype for the returned function to the one from the input function. It could cause confusion while debugging otherwise. PR-URL: #26893 Fixes: #26890 Reviewed-By: James M Snell <email@example.com> Reviewed-By: Jeremiah Senkpiel <firstname.lastname@example.org> Reviewed-By: Michaël Zasso <email@example.com>
- Loading branch information...
Showing with 5 additions and 1 deletion.