Skip to content

Commit 3355825

Browse files
committed
fix(cli): don't load languages for build command
1 parent 7d0e029 commit 3355825

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/cli/src/main.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -939,9 +939,6 @@ impl Build {
939939

940940
loader.force_rebuild(true);
941941

942-
let config = Config::load(None)?;
943-
let loader_config = config.get()?;
944-
loader.find_all_languages(&loader_config).unwrap();
945942
loader
946943
.compile_parser_at_path(&grammar_path, output_path, flags)
947944
.unwrap();

0 commit comments

Comments
 (0)