mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-16 10:48:39 +00:00
Add whitespace befor log test to handle comments
This commit is contained in:
parent
bf7ec6a7bd
commit
616f7769c8
|
|
@ -10,7 +10,7 @@ hasPhpLogging() {
|
||||||
}
|
}
|
||||||
|
|
||||||
hasJsLogging() {
|
hasJsLogging() {
|
||||||
RESULT=$(grep "console.log(" "$1")
|
RESULT=$(grep " console.log(" "$1")
|
||||||
if [ ! -z $RESULT ]; then
|
if [ ! -z $RESULT ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user