summaryrefslogtreecommitdiff
path: root/cli/diagnostics.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-09-21 18:36:37 +0200
committerGitHub <noreply@github.com>2020-09-21 18:36:37 +0200
commit92edc364426ddb4c80292ebe7e702c02f9344c5b (patch)
tree2fb92cdd08b0d10a59a2cd4b4820f7afbca17486 /cli/diagnostics.rs
parent9d738fc1977e0bd3d36f361198a1101e17c3b3b3 (diff)
refactor: use futures and serde_json from deno_core (#7614)
Diffstat (limited to 'cli/diagnostics.rs')
-rw-r--r--cli/diagnostics.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/diagnostics.rs b/cli/diagnostics.rs
index 06fc585bb..b3b5a73c3 100644
--- a/cli/diagnostics.rs
+++ b/cli/diagnostics.rs
@@ -384,7 +384,8 @@ impl Error for Diagnostics {}
mod tests {
use super::*;
use colors::strip_ansi_codes;
- use serde_json::json;
+ use deno_core::serde_json;
+ use deno_core::serde_json::json;
#[test]
fn test_de_diagnostics() {