File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed
plugins/tools/eslint/test/src Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "env" : {
3+ "browser" : true ,
4+ "es2021" : true ,
5+ "node" : true
6+ },
7+ "extends" : " eslint:recommended" ,
8+ "parserOptions" : {
9+ "ecmaVersion" : " latest" ,
10+ "sourceType" : " module"
11+ },
12+ "rules" : {
13+ "no-unused-vars" : " warn" ,
14+ "no-console" : " warn"
15+ }
16+ }
Original file line number Diff line number Diff line change @@ -60,8 +60,11 @@ cd ../../../../..
6060
6161# Check if any tools failed
6262if [ -s /tmp/failed_tools.txt ]; then
63- echo -e " \n❌ The following tools failed their tests:"
64- cat /tmp/failed_tools.txt
65- rm /tmp/failed_tools.txt
63+ # Only print the message if we haven't printed it before
64+ if [ -z " $FAILED_TOOLS_PRINTED " ]; then
65+ echo -e " \n❌ The following tools failed their tests:"
66+ cat /tmp/failed_tools.txt
67+ export FAILED_TOOLS_PRINTED=1
68+ fi
6669 exit 1
6770fi
You can’t perform that action at this time.
0 commit comments