diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-05-05 23:13:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 23:13:04 +0200 |
commit | 9cd7d598405f8bf6600775827f870848fd3e120a (patch) | |
tree | b28f5c65b1d8d5d7c3a68c09d384171dab097881 /cli/tests/020_json_modules.ts.out | |
parent | 5875bb9c0d5949682191e4b2592433e975abce4d (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/020_json_modules.ts.out')
-rw-r--r-- | cli/tests/020_json_modules.ts.out | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/020_json_modules.ts.out b/cli/tests/020_json_modules.ts.out index 02106dafc..cb923561b 100644 --- a/cli/tests/020_json_modules.ts.out +++ b/cli/tests/020_json_modules.ts.out @@ -4,6 +4,6 @@ error: Uncaught TypeError: Cannot resolve extension for "[WILDCARD]config.json" at new SourceFile ($deno$/compiler/sourcefile.ts:[WILDCARD]) at processImports ($deno$/compiler/imports.ts:[WILDCARD]) at async Object.processImports ($deno$/compiler/imports.ts:[WILDCARD]) - at async compile ([WILDCARD]compiler.ts:[WILDCARD]) - at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD]) + at async compile ($deno$/compiler.ts:[WILDCARD]) + at async tsCompilerOnMessage ($deno$/compiler.ts:[WILDCARD]) at async workerMessageRecvCallback ($deno$/runtime_worker.ts:[WILDCARD]) |