fix(cli): Remove tree-sitter grammar ./... call limitation
This commit is contained in:
parent
c21bec3716
commit
533073cdb5
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ fn load_grammar_file(grammar_path: &Path) -> Result<String> {
|
|||
}
|
||||
|
||||
fn load_js_grammar_file(grammar_path: &Path) -> Result<String> {
|
||||
let grammar_path = fs::canonicalize(grammar_path)?;
|
||||
let mut node_process = Command::new("node")
|
||||
.env("TREE_SITTER_GRAMMAR_PATH", grammar_path)
|
||||
.stdin(Stdio::piped())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue