summaryrefslogtreecommitdiff
path: root/cli/tests/error_004_missing_module.ts.out
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-05 23:13:04 +0200
committerGitHub <noreply@github.com>2020-05-05 23:13:04 +0200
commit9cd7d598405f8bf6600775827f870848fd3e120a (patch)
treeb28f5c65b1d8d5d7c3a68c09d384171dab097881 /cli/tests/error_004_missing_module.ts.out
parent5875bb9c0d5949682191e4b2592433e975abce4d (diff)
fix(cli): fix paths in internal stack traces (#5093)
This commit updates "deno_typescript" crate to properly map bundle entrypoint file to internal specifier. All import specifiers were remapped from "file:///a/b/c.ts" to "$deno$/a/b/c.ts", but that was not the case for entrypoint file "main.ts" and "compiler.ts". Because of that internal stack traces were inconsistent; showing "file:///some/random/path/on/ci/machine.ts" URL in frames that originate from "main.ts" or "compiler.ts" and "$deno$/file.ts" for all other imports.
Diffstat (limited to 'cli/tests/error_004_missing_module.ts.out')
-rw-r--r--cli/tests/error_004_missing_module.ts.out8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/error_004_missing_module.ts.out b/cli/tests/error_004_missing_module.ts.out
index 87db14026..1c77c0626 100644
--- a/cli/tests/error_004_missing_module.ts.out
+++ b/cli/tests/error_004_missing_module.ts.out
@@ -1,8 +1,8 @@
[WILDCARD]error: Uncaught NotFound: Cannot resolve module "[WILDCARD]/bad-module.ts" from "[WILDCARD]/error_004_missing_module.ts"
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD])
at Object.sendAsync ([WILDCARD]dispatch_json.ts:[WILDCARD])
- at async processImports ([WILDCARD]compiler/imports.ts:[WILDCARD])
- at async Object.processImports ([WILDCARD]compiler/imports.ts:[WILDCARD])
- at async compile ([WILDCARD]compiler.ts:[WILDCARD])
- at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD])
+ at async processImports ($deno$/compiler/imports.ts:[WILDCARD])
+ at async Object.processImports ($deno$/compiler/imports.ts:[WILDCARD])
+ at async compile ($deno$/compiler.ts:[WILDCARD])
+ at async tsCompilerOnMessage ($deno$/compiler.ts:[WILDCARD])
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD])