Browse Source

fix analysis-wrapper.sh script

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 4 years ago
parent
commit
6b0f929605
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/analysis/analysis-wrapper.sh

+ 1 - 1
scripts/analysis/analysis-wrapper.sh

@@ -128,7 +128,7 @@ else
     fi
 
     # check for NotNull
-    if [[ $(grep org.jetbrains.annotations * -ir | grep src/main -c) -gt 0 ]] ; then
+    if [[ $(grep org.jetbrains.annotations src/main/* -ir -c) -gt 0 ]] ; then
         notNull="org.jetbrains.annotations.NotNull is used. Please use androidx.annotation.NonNull instead.<br><br>"
     fi