Unverified Commit 26fcdb65 authored by bcoe's avatar bcoe Committed by Benjamin Coe
Browse files

errors: do not call resolve on URLs with schemes

We were incorrectly trying to run path.resolve on absolute
sources URLs. This was breaking webpack:// URLs in stack
trace output.

Refs: https://github.com/nodejs/node/issues/35325

PR-URL: https://github.com/nodejs/node/pull/35903


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent bf6883d1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment