Skip to content

Commit c1e4a64

Browse files
committed
fix warning from with-demoted-errors
1 parent 817345b commit c1e4a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree-sitter-langs-build.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ from the current state of the grammar repo, without cleanup."
339339
(when (member lang-symbol langs-with-deps)
340340
(tree-sitter-langs--call "npm" "set" "progress=false")
341341
(dolist (cmd cmds)
342-
(with-demoted-errors (concat "Failed to run 'npm install " cmd "': %s")
342+
(with-demoted-errors "Failed to run 'npm install XXX': %s"
343343
(tree-sitter-langs--call "npm" "install" cmd)))
344344
(with-demoted-errors "Failed to run 'npm install': %s"
345345
(tree-sitter-langs--call "npm" "install")))

0 commit comments

Comments
 (0)