diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-09-09 13:23:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 14:23:57 +0200 |
commit | b17a5fbcfaaeb70f8876ce4ca09fdcc61f7e825c (patch) | |
tree | b59175137a0c7db162895feb6fe35213ab326b20 /cli/rt/40_error_stack.js | |
parent | c14436a424449d845a769a70ca7bc3d313201482 (diff) |
fix(op_crates/web): Use "deno:" URLs for internal script specifiers (#7383)
Diffstat (limited to 'cli/rt/40_error_stack.js')
-rw-r--r-- | cli/rt/40_error_stack.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/rt/40_error_stack.js b/cli/rt/40_error_stack.js index 80f4fc5ed..5d1a077ad 100644 --- a/cli/rt/40_error_stack.js +++ b/cli/rt/40_error_stack.js @@ -240,7 +240,7 @@ }); for (const callSite of mappedCallSites) { error.__callSiteEvals.push(Object.freeze(evaluateCallSite(callSite))); - const isInternal = callSite.getFileName()?.startsWith("$deno$") ?? false; + const isInternal = callSite.getFileName()?.startsWith("deno:") ?? false; error.__formattedFrames.push(callSiteToString(callSite, isInternal)); } Object.freeze(error.__callSiteEvals); |