Tweak command in grepHTTP action.

This commit is contained in:
Manuele Simi 2021-02-12 14:35:02 -05:00
parent b45ff1a8cd
commit 564436828e
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
if [[ "$(grep -r 'http://' .)" ]]; then
if [[ "$(find . -name *.java | xargs grep 'http://')" ]]; then
echo "http protocol found"
else
echo "http protocol not found"