Skip to content

Commit c864f46

Browse files
committed
[PLUTO-1411] debug
1 parent 8693eb9 commit c864f46

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

plugins/tools/eslint/test/expected.sarif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"artifacts": [
66
{
77
"location": {
8-
"uri": "file:///codacy-cli-v2/plugins/tools/eslint/test/src/Test.js"
8+
"uri": "file:///plugins/tools/eslint/test/src/Test.js"
99
}
1010
}
1111
],
@@ -23,7 +23,7 @@
2323
"physicalLocation": {
2424
"artifactLocation": {
2525
"index": 0,
26-
"uri": "file:///codacy-cli-v2/plugins/tools/eslint/test/src/Test.js"
26+
"uri": "file:///plugins/tools/eslint/test/src/Test.js"
2727
},
2828
"region": {
2929
"startColumn": 1,

plugins/tools/pmd/test/expected.sarif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
{
6464
"physicalLocation": {
6565
"artifactLocation": {
66-
"uri": "/home/runner/work/codacy-cli-v2/codacy-cli-v2/plugins/tools/pmd/test/src/Test.java"
66+
"uri": "/plugins/tools/pmd/test/src/Test.java"
6767
},
6868
"region": {
6969
"startLine": 2,
@@ -85,7 +85,7 @@
8585
{
8686
"physicalLocation": {
8787
"artifactLocation": {
88-
"uri": "/home/runner/work/codacy-cli-v2/codacy-cli-v2/plugins/tools/pmd/test/src/Test.java"
88+
"uri": "/plugins/tools/pmd/test/src/Test.java"
8989
},
9090
"region": {
9191
"startLine": 5,

run-tool-tests.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ else
5252
sed -i 's|/home/runner/work/codacy-cli-v2/codacy-cli-v2/|/|g' actual.sarif
5353
fi
5454

55-
# Debug information
56-
echo "Current directory: $(pwd)"
57-
echo "Looking for expected.sarif in: $EXPECTED_SARIF"
58-
ls -la "$EXPECTED_SARIF" || echo "File not found or not accessible"
5955

6056
# Sort all fields in both files, handling null rules array
6157
echo "📊 Sorting SARIF outputs..."

0 commit comments

Comments
 (0)