summaryrefslogtreecommitdiff
path: root/runtime/js/40_error_stack.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-05-03 19:45:57 +0200
committerGitHub <noreply@github.com>2022-05-03 19:45:57 +0200
commit3f08a40412d89bd54222ad51fc1aaeb508e2e5e7 (patch)
tree61c8cac3376e4ef7f842dd3267bfd7ada31806c3 /runtime/js/40_error_stack.js
parent5ddb83a4c2a5622d0ea173c0798550ae76e1fd69 (diff)
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 <aaron.omullan@gmail.com>
Diffstat (limited to 'runtime/js/40_error_stack.js')
-rw-r--r--runtime/js/40_error_stack.js5
1 files changed, 0 insertions, 5 deletions
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);