From c4c6a8dae488a3473ee09b0e3a54943b706d8944 Mon Sep 17 00:00:00 2001 From: Andrew Mitchell <32021055+mitch292@users.noreply.github.com> Date: Fri, 5 Jun 2020 12:01:02 +0000 Subject: fix: Use # to denote line number in stack traces (#6114) This makes the URLs in stack traces actual URLs to the files. Before: https://deno.land/std/testing/asserts.ts:138:11 After: https://deno.land/std/testing/asserts.ts#138:11 --- cli/tests/020_json_modules.ts.out | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cli/tests/020_json_modules.ts.out') diff --git a/cli/tests/020_json_modules.ts.out b/cli/tests/020_json_modules.ts.out index 4369639eb..b4b56f946 100644 --- a/cli/tests/020_json_modules.ts.out +++ b/cli/tests/020_json_modules.ts.out @@ -1,9 +1,9 @@ [WILDCARD] error: Uncaught TypeError: Cannot resolve extension for "[WILDCARD]config.json" with mediaType "Json". - at getExtension ($deno$/compiler.ts:[WILDCARD]) - at new SourceFile ($deno$/compiler.ts:[WILDCARD]) - at Function.addToCache ($deno$/compiler.ts:[WILDCARD]) - at buildSourceFileCache ($deno$/compiler.ts:[WILDCARD]) - at compile ($deno$/compiler.ts:[WILDCARD]) - at tsCompilerOnMessage ($deno$/compiler.ts:[WILDCARD]) + at getExtension ($deno$/compiler.ts#[WILDCARD]) + at new SourceFile ($deno$/compiler.ts#[WILDCARD]) + at Function.addToCache ($deno$/compiler.ts#[WILDCARD]) + at buildSourceFileCache ($deno$/compiler.ts#[WILDCARD]) + at compile ($deno$/compiler.ts#[WILDCARD]) + at tsCompilerOnMessage ($deno$/compiler.ts#[WILDCARD]) [WILDCARD] \ No newline at end of file -- cgit v1.2.3