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/session.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/session.rs')
| -rw-r--r-- | cli/tools/repl/session.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/tools/repl/session.rs b/cli/tools/repl/session.rs index df9a63772..b46f73d5a 100644 --- a/cli/tools/repl/session.rs +++ b/cli/tools/repl/session.rs @@ -5,6 +5,7 @@ use std::rc::Rc; use std::sync::Arc; use crate::args::CliOptions; +use crate::cdp; use crate::colors; use crate::lsp::ReplLanguageServer; use crate::npm::CliNpmResolver; @@ -48,8 +49,6 @@ use once_cell::sync::Lazy; use regex::Match; use regex::Regex; -use super::cdp; - fn comment_source_to_position_range( comment_start: SourcePos, m: &Match, |
