We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c3b4b6 commit 8b0e54aCopy full SHA for 8b0e54a
1 file changed
analyze.sh
@@ -14,7 +14,7 @@ if [ "$SPOTBUGS_VERSION" == 'latest' ] || [ "$SPOTBUGS_VERSION" == "" ]; then
14
fi
15
16
# Download SpotBugs
17
-wget -q https://github.com/spotbugs/spotbugs/releases/download/"${SPOTBUGS_VERSION}"/spotbugs-"${SPOTBUGS_VERSION}".zip
+wget -q -N https://github.com/spotbugs/spotbugs/releases/download/"${SPOTBUGS_VERSION}"/spotbugs-"${SPOTBUGS_VERSION}".zip
18
unzip -q -o spotbugs-"${SPOTBUGS_VERSION}".zip
19
20
# Run SpotBugs
@@ -79,7 +79,8 @@ if [ "$BASE_PATH" != "" ]; then
79
if [[ "$BASE_PATH" != */ ]]; then
80
BASE_PATH="$BASE_PATH/"
81
82
- CMD="$CMD -sourcepath ${BASE_PATH}"
+ # using sourcepath does not work for sarif
83
+ # CMD="$CMD -sourcepath ${BASE_PATH}"
84
85
86
if [ "$ARGUMENTS" != "" ]; then
0 commit comments