File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ run_tree_sitter () {
3232
3333 if [ ! -e " $PRODUCE_REPORTS " ]; then
3434 local report_file=" report-$name .txt"
35- echo " $out " | sed G | sed -E ' s/([0-9]+) ms//' | grep -v ' success percentage' > " report-$name .txt"
35+ echo " $out " | sed G | sed -E ' s/([0-9]+) ms//' | grep -v ' success percentage' > " report-$name .txt"
3636 echo " Report written to $report_file "
3737 fi
3838
@@ -50,7 +50,7 @@ run_tree_sitter () {
5050check_complexity () {
5151 local expected=$1
5252 name=" complexity"
53- cmd=" npm exec -c 'tree-sitter generate --report-states-for-rule compilation_unit' 2>&1"
53+ cmd=" npm exec -c 'tree-sitter generate --report-states-for-rule compilation_unit' 2>&1 >/dev/null "
5454 echo
5555 echo " Checking syntax complexity: $cmd "
5656 out=$( (eval " $cmd " ) || true)
You can’t perform that action at this time.
0 commit comments