diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-11-16 09:02:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 09:02:28 -0500 |
commit | b2036a4db71afd67a78f932528143fb07faea538 (patch) | |
tree | a78612e8868609af7aa6fe9ecf49d3ab0c42c9da /runtime | |
parent | f9f9ddc5e308809343bbf5c07d4487df5a1b93cf (diff) |
refactor: re-export anyhow from deno_core (#12777)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/fs_util.rs | 2 | ||||
-rw-r--r-- | runtime/ops/runtime.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/fs_util.rs b/runtime/fs_util.rs index 93286ecf3..695b3be62 100644 --- a/runtime/fs_util.rs +++ b/runtime/fs_util.rs @@ -1,7 +1,7 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +use deno_core::anyhow::Context; use deno_core::error::AnyError; -use deno_core::error::Context; pub use deno_core::normalize_path; use std::env::current_dir; use std::io::Error; diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index 66dd0de4b..6006716ef 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -1,8 +1,8 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::permissions::Permissions; +use deno_core::anyhow::Context; use deno_core::error::AnyError; -use deno_core::error::Context; use deno_core::op_sync; use deno_core::Extension; use deno_core::ModuleSpecifier; |