AriaMinaei / pretty-error

See node.js errors with less clutter
MIT License
1.52k stars 48 forks source link

Add next_tick.js to the node.js internal packages list #42

Open aight8 opened 7 years ago

aight8 commented 7 years ago

Add next_tick.js to the node.js internal packages list

AriaMinaei commented 7 years ago

I couldn't find next_tick.js in the list of internal modules. Can you post a snippet that produces a stack tract that includes that module?

MechanicalHuman commented 7 years ago

@AriaMinaei https://github.com/nodejs/node/blob/master/lib/internal/process/next_tick.js

@aight8 Quick Fix:

/* Assuming @pe is an instance of PrettyError */
pe.skipPath('internal/process/next_tick.js')