summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-10-11 08:26:22 +1100
committerGitHub <noreply@github.com>2021-10-11 08:26:22 +1100
commita7baf5f2bbb50dc0cb571de141b800b9155faca7 (patch)
tree4bebaabd1d3ed4595e8a388e0fae559bb5558974 /cli/lsp/tsc.rs
parent5a8a989b7815023f33a1e3183a55cc8999af5d98 (diff)
refactor: integrate deno_graph into CLI (#12369)
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r--cli/lsp/tsc.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index 05606cb79..9899fad72 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -44,12 +44,15 @@ use log::warn;
use lspower::lsp;
use regex::Captures;
use regex::Regex;
+use std::borrow::Cow;
+use std::cmp;
+use std::collections::HashMap;
use std::collections::HashSet;
+use std::path::Path;
use std::sync::Arc;
use std::thread;
-use std::{borrow::Cow, cmp};
-use std::{collections::HashMap, path::Path};
-use text_size::{TextRange, TextSize};
+use text_size::TextRange;
+use text_size::TextSize;
use tokio::sync::mpsc;
use tokio::sync::oneshot;
@@ -3375,7 +3378,7 @@ mod tests {
#[test]
fn test_modify_sources() {
let (mut runtime, state_snapshot, location) = setup(
- true,
+ false,
json!({
"target": "esnext",
"module": "esnext",