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 () {
32
32
33
33
if [ ! -e " $PRODUCE_REPORTS " ]; then
34
34
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"
36
36
echo " Report written to $report_file "
37
37
fi
38
38
@@ -50,7 +50,7 @@ run_tree_sitter () {
50
50
check_complexity () {
51
51
local expected=$1
52
52
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 "
54
54
echo
55
55
echo " Checking syntax complexity: $cmd "
56
56
out=$( (eval " $cmd " ) || true)
You can’t perform that action at this time.
0 commit comments