Use the parsed exercises instead of glob
This commit is contained in:
@@ -206,7 +206,7 @@ fn main() -> Result<()> {
|
||||
Subcommands::Lsp => {
|
||||
let mut project = RustAnalyzerProject::build()?;
|
||||
project
|
||||
.exercises_to_json()
|
||||
.exercises_to_json(exercises)
|
||||
.expect("Couldn't parse rustlings exercises files");
|
||||
|
||||
if project.crates.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user