Skip to content

Commit

Permalink
fix warning from with-demoted-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Feb 15, 2024
1 parent 817345b commit c1e4a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree-sitter-langs-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ from the current state of the grammar repo, without cleanup."
(when (member lang-symbol langs-with-deps)
(tree-sitter-langs--call "npm" "set" "progress=false")
(dolist (cmd cmds)
(with-demoted-errors (concat "Failed to run 'npm install " cmd "': %s")
(with-demoted-errors "Failed to run 'npm install XXX': %s"
(tree-sitter-langs--call "npm" "install" cmd)))
(with-demoted-errors "Failed to run 'npm install': %s"
(tree-sitter-langs--call "npm" "install")))
Expand Down

0 comments on commit c1e4a64

Please sign in to comment.