diff options
author | Corey Farrell <git@cfware.com> | 2019-11-23 06:06:43 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-12-01 12:23:54 +0300 |
commit | b91d22cc8d31ed919b73ab49fe00baa61cb1b896 (patch) | |
tree | 70ff64fe696ead251155dcabc4a57a07ae57a6f9 /src | |
parent | 62574087ea28882024f89dbe4f3577bc1f75e382 (diff) |
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: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions