dev: cleanup project creation (#1227)

This commit is contained in:
Myriad-Dreamin 2025-01-29 20:57:34 +08:00 committed by GitHub
parent 3227b2f6f7
commit af47f578e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 32 additions and 55 deletions

View file

@ -163,8 +163,7 @@ pub fn run_with_sources<T>(source: &str, f: impl FnOnce(&mut LspUniverse, PathBu
.unwrap(),
),
LspUniverseBuilder::resolve_package(None, None),
)
.unwrap();
);
let sources = source.split("-----");
let mut last_pw = None;