summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-11 23:48:36 +0200
committerGitHub <noreply@github.com>2020-05-11 23:48:36 +0200
commitd062ffc1baeccca8bf168dc1ce4e94b929478142 (patch)
tree17992f7781840b619ce528d70b80c9c798d9ce61 /cli/tests
parent73d8fa74c656841703b51bf8d52d46acf3b97cc9 (diff)
fix: source maps in inspector (#5223)
This commit fixes problems with source maps in Chrome Devtools by substituting source map URL generated by TS compiler with actual file URL pointing to DENO_DIR. Dummy value of "source_map_url" has been removed from "ScriptOrigin". Also fixes lock file which used compiled source code to generate lock hash; it now uses source code of the file that is being compiled.
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/lock_check_ok.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/lock_check_ok.json b/cli/tests/lock_check_ok.json
index 85670a5d6..c4b68e158 100644
--- a/cli/tests/lock_check_ok.json
+++ b/cli/tests/lock_check_ok.json
@@ -1,4 +1,4 @@
{
- "http://127.0.0.1:4545/cli/tests/subdir/print_hello.ts": "5c93c66125878389f47f4abcac003f4be1276c5223612c26302460d71841e287",
- "http://127.0.0.1:4545/cli/tests/003_relative_import.ts": "da3b7f60f5ff635dbc27f3e5e05420f0f2c34676f080ef935ea547116424adeb"
+ "http://127.0.0.1:4545/cli/tests/subdir/print_hello.ts": "fe7bbccaedb6579200a8b582f905139296402d06b1b91109d6e12c41a23125da",
+ "http://127.0.0.1:4545/cli/tests/003_relative_import.ts": "aa9e16de824f81871a1c7164d5bd6857df7db2e18621750bd66b0bde4df07f21"
}