浏览代码

fix analysis-wrapper.sh script

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 4 年之前
父节点
当前提交
6b0f929605
共有 1 个文件被更改,包括 1 次插入1 次删除
  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