mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
19 lines
264 B
Bash
19 lines
264 B
Bash
#!/bin/bash
|
|
|
|
hasPhpLogging() {
|
|
RESULT=$(grep "var_dump(" "$1")
|
|
if [ ! -z $RESULT ]; then
|
|
return 1
|
|
fi
|
|
|
|
return 0
|
|
}
|
|
|
|
hasJsLogging() {
|
|
RESULT=$(grep " console.log(" "$1")
|
|
if [ ! -z $RESULT ]; then
|
|
return 1
|
|
fi
|
|
|
|
return 0
|
|
} |