File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 run : |
5353 while read -r grammar_dir; do
5454 pushd "$grammar_dir"
55- tree-sitter generate
55+ npm x -- tree-sitter generate
5656 popd > /dev/null
5757 done < <(jq -r '.grammars[].path // "."' tree-sitter.json)
5858 env :
9696 shell : bash
9797 run : |
9898 while read -r grammar_dir; do
99+ grammar_dir="${grammar_dir%$'\r'}"
99100 pushd "$grammar_dir"
100- tree-sitter generate
101+ npm x -- tree-sitter generate
101102 popd > /dev/null
102103 done < <(jq -r '.grammars[].path // "."' tree-sitter.json)
103104 - name : Build binary
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ jobs:
114114 shell : bash
115115 run : |
116116 while read -r grammar_dir; do
117+ grammar_dir="${grammar_dir%$'\r'}"
117118 pushd "$grammar_dir"
118119 tree-sitter generate
119120 popd > /dev/null
You can’t perform that action at this time.
0 commit comments