Unverified Commit 49fb5291 authored by Corey Farrell's avatar Corey Farrell Committed by bcoe
Browse files

repl: fix referrer for dynamic import

The ESM loader does not accept a directory as the referrer, it requires
a path within the directory.  Add `/repl` to ensure relative dynamic
imports can succeed.

Fixes: https://github.com/nodejs/node/issues/19570

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


Reviewed-By: default avatarGus Caplan <me@gus.host>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarBen Coe <bencoe@gmail.com>
parent 6bf5a1d6
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