mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +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() {
|
||||
RESULT=$(grep "console.log(" "$1")
|
||||
RESULT=$(grep " console.log(" "$1")
|
||||
if [ ! -z $RESULT ]; then
|
||||
return 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user