mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
fix(cli): don't load languages for build command
This commit is contained in:
parent
7d0e029e37
commit
3355825a68
|
|
@ -939,9 +939,6 @@ impl Build {
|
|||
|
||||
loader.force_rebuild(true);
|
||||
|
||||
let config = Config::load(None)?;
|
||||
let loader_config = config.get()?;
|
||||
loader.find_all_languages(&loader_config).unwrap();
|
||||
loader
|
||||
.compile_parser_at_path(&grammar_path, output_path, flags)
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue