Skip to content

Commit 8b0e54a

Browse files
committed
remove sourcepath
1 parent 7c3b4b6 commit 8b0e54a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

analyze.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ "$SPOTBUGS_VERSION" == 'latest' ] || [ "$SPOTBUGS_VERSION" == "" ]; then
1414
fi
1515

1616
# Download SpotBugs
17-
wget -q https://github.com/spotbugs/spotbugs/releases/download/"${SPOTBUGS_VERSION}"/spotbugs-"${SPOTBUGS_VERSION}".zip
17+
wget -q -N https://github.com/spotbugs/spotbugs/releases/download/"${SPOTBUGS_VERSION}"/spotbugs-"${SPOTBUGS_VERSION}".zip
1818
unzip -q -o spotbugs-"${SPOTBUGS_VERSION}".zip
1919

2020
# Run SpotBugs
@@ -79,7 +79,8 @@ if [ "$BASE_PATH" != "" ]; then
7979
if [[ "$BASE_PATH" != */ ]]; then
8080
BASE_PATH="$BASE_PATH/"
8181
fi
82-
CMD="$CMD -sourcepath ${BASE_PATH}"
82+
# using sourcepath does not work for sarif
83+
# CMD="$CMD -sourcepath ${BASE_PATH}"
8384
fi
8485

8586
if [ "$ARGUMENTS" != "" ]; then

0 commit comments

Comments
 (0)