From 9bfb0df805719cb3f022a5b5d9f9d898ae954c2e Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 26 Aug 2020 00:22:15 +0200 Subject: refactor: remove OpError, use ErrBox everywhere (#7187) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- cli/fmt_errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/fmt_errors.rs') diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs index 2d360892e..b2925f625 100644 --- a/cli/fmt_errors.rs +++ b/cli/fmt_errors.rs @@ -114,7 +114,7 @@ impl JSError { ) -> ErrBox { let core_js_error = apply_source_map(&core_js_error, source_map_getter); let js_error = Self(core_js_error); - ErrBox::from(js_error) + js_error.into() } } -- cgit v1.2.3