Skip to content

Commit

Permalink
feat: add minimum tree-sitter cli requirement to error output (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb authored May 27, 2024
1 parent 9be28bd commit 221e4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luarocks/build/treesitter-parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function treesitter_parser.run(rockspec, no_install)
-- Fall back to builtin build
ok, err = builtin.run(rockspec, no_install)
elseif not ok then
err = "tree-sitter build failed"
err = "'tree-sitter build' failed. Note: tree-sitter 0.22.2 or later is required to build this parser."
end
else
ok = true
Expand Down

0 comments on commit 221e4c5

Please sign in to comment.