File tree Expand file tree Collapse file tree 2 files changed +25
-27
lines changed
plugins/tools/eslint/test/src Expand file tree Collapse file tree 2 files changed +25
-27
lines changed Original file line number Diff line number Diff line change 4545
4646 # Check if any tools failed
4747 if [ -s /tmp/failed_tools.txt ]; then
48- echo -e "\n❌ The following tools failed their tests:"
49- cat /tmp/failed_tools.txt
5048 echo "::error::Some tool tests failed. Please check the logs above for details."
5149 exit 1
5250 fi
Original file line number Diff line number Diff line change 11{
2- "version" : " 2.1.0" ,
32 "$schema" : " https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json" ,
43 "runs" : [
54 {
6- "tool" : {
7- "driver" : {
8- "name" : " ESLint" ,
9- "informationUri" : " https://eslint.org" ,
10- "rules" : [],
11- "version" : " 8.57.0"
12- }
13- },
145 "artifacts" : [
156 {
167 "location" : {
17- "uri" : " file:///Users/yasmin/IdeaProjects/ codacy-cli-v2/plugins/tools/eslint/test/src/Test.js"
8+ "uri" : " file:///codacy-cli-v2/plugins/tools/eslint/test/src/Test.js"
189 }
1910 }
2011 ],
21- "results" : [],
2212 "invocations" : [
2313 {
14+ "executionSuccessful" : false ,
2415 "toolConfigurationNotifications" : [
2516 {
26- "level" : " error" ,
27- "message" : {
28- "text" : " Parsing error: 'with' in strict mode"
17+ "descriptor" : {
18+ "id" : " ESL0999"
2919 },
20+ "level" : " error" ,
3021 "locations" : [
3122 {
3223 "physicalLocation" : {
3324 "artifactLocation" : {
34- "uri " : " file:///Users/yasmin/IdeaProjects/codacy-cli-v2/plugins/tools/eslint/test/src/Test.js " ,
35- "index " : 0
25+ "index " : 0 ,
26+ "uri " : " file:///codacy-cli-v2/plugins/tools/eslint/test/src/Test.js "
3627 },
3728 "region" : {
38- "startLine " : 49 ,
39- "startColumn " : 1
29+ "startColumn " : 1 ,
30+ "startLine " : 49
4031 }
4132 }
4233 }
4334 ],
44- "descriptor " : {
45- "id " : " ESL0999 "
35+ "message " : {
36+ "text " : " Parsing error: 'with' in strict mode "
4637 }
4738 }
48- ],
49- "executionSuccessful" : false
39+ ]
40+ }
41+ ],
42+ "results" : [],
43+ "tool" : {
44+ "driver" : {
45+ "informationUri" : " https://eslint.org" ,
46+ "name" : " ESLint" ,
47+ "rules" : [],
48+ "version" : " 8.57.0"
5049 }
51- ]
50+ }
5251 }
53- ]
54- }
52+ ],
53+ "version" : " 2.1.0"
54+ }
You can’t perform that action at this time.
0 commit comments