From 3f08a40412d89bd54222ad51fc1aaeb508e2e5e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 3 May 2022 19:45:57 +0200 Subject: refactor: add core.formatLocationFilename, remove op_format_filename (#14474) This commit moves "op_format_location" to "core/ops_builtin.rs" and removes "Deno.core.createPrepareStackTrace" in favor of "Deno.core.prepareStackTrace". Co-authored-by: Aaron O'Mullan --- runtime/js/40_error_stack.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runtime/js/40_error_stack.js') diff --git a/runtime/js/40_error_stack.js b/runtime/js/40_error_stack.js index 046f4ddf0..4269bf1ac 100644 --- a/runtime/js/40_error_stack.js +++ b/runtime/js/40_error_stack.js @@ -8,12 +8,7 @@ return core.opSync("op_format_diagnostic", diagnostics); } - function opFormatFileName(location) { - return core.opSync("op_format_file_name", location); - } - window.__bootstrap.errorStack = { opFormatDiagnostics, - opFormatFileName, }; })(this); -- cgit v1.2.3