File tree 2 files changed +25
-27
lines changed
plugins/tools/eslint/test/src
2 files changed +25
-27
lines changed Original file line number Diff line number Diff line change 45
45
46
46
# Check if any tools failed
47
47
if [ -s /tmp/failed_tools.txt ]; then
48
- echo -e "\n❌ The following tools failed their tests:"
49
- cat /tmp/failed_tools.txt
50
48
echo "::error::Some tool tests failed. Please check the logs above for details."
51
49
exit 1
52
50
fi
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 2.1.0" ,
3
2
"$schema" : " https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json" ,
4
3
"runs" : [
5
4
{
6
- "tool" : {
7
- "driver" : {
8
- "name" : " ESLint" ,
9
- "informationUri" : " https://eslint.org" ,
10
- "rules" : [],
11
- "version" : " 8.57.0"
12
- }
13
- },
14
5
"artifacts" : [
15
6
{
16
7
"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"
18
9
}
19
10
}
20
11
],
21
- "results" : [],
22
12
"invocations" : [
23
13
{
14
+ "executionSuccessful" : false ,
24
15
"toolConfigurationNotifications" : [
25
16
{
26
- "level" : " error" ,
27
- "message" : {
28
- "text" : " Parsing error: 'with' in strict mode"
17
+ "descriptor" : {
18
+ "id" : " ESL0999"
29
19
},
20
+ "level" : " error" ,
30
21
"locations" : [
31
22
{
32
23
"physicalLocation" : {
33
24
"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 "
36
27
},
37
28
"region" : {
38
- "startLine " : 49 ,
39
- "startColumn " : 1
29
+ "startColumn " : 1 ,
30
+ "startLine " : 49
40
31
}
41
32
}
42
33
}
43
34
],
44
- "descriptor " : {
45
- "id " : " ESL0999 "
35
+ "message " : {
36
+ "text " : " Parsing error: 'with' in strict mode "
46
37
}
47
38
}
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"
50
49
}
51
- ]
50
+ }
52
51
}
53
- ]
54
- }
52
+ ],
53
+ "version" : " 2.1.0"
54
+ }
You can’t perform that action at this time.
0 commit comments