diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-11-05 23:58:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 22:58:59 +0000 |
commit | fdb4953ea460d5c09ac73f3f37dd570d44893155 (patch) | |
tree | 72c0e9dd7dc7b2677eea474d7e443e8a66ba0cc7 /cli/tools/repl/editor.rs | |
parent | 68a964346d1b4f0509d244c7b13e54146817238f (diff) |
refactor: unify CDP types in a single module (#21094)
This commit moves all Chrome Devtools Protocol messages to `cli/cdp.rs`
and refactors all places using these types to pull them from a common
place.
No functional changes.
Diffstat (limited to 'cli/tools/repl/editor.rs')
-rw-r--r-- | cli/tools/repl/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs index 52fad4759..0bf2da7c8 100644 --- a/cli/tools/repl/editor.rs +++ b/cli/tools/repl/editor.rs @@ -1,5 +1,6 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +use crate::cdp; use crate::colors; use deno_ast::swc::parser::error::SyntaxError; use deno_ast::swc::parser::token::BinOpToken; @@ -37,7 +38,6 @@ use std::sync::atomic::AtomicBool; use std::sync::atomic::Ordering::Relaxed; use std::sync::Arc; -use super::cdp; use super::channel::RustylineSyncMessageSender; use super::session::REPL_INTERNALS_NAME; |