We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13b71a2 + 32735c2 commit e962f07Copy full SHA for e962f07
1 file changed
.git-hooks-matomo/pre-push
@@ -38,9 +38,8 @@ if command -v php >/dev/null 2>&1; then
38
COMMAND="${MATOMO_DIR}/vendor/bin/phpstan"
39
PLUGIN_PATH=''
40
fi
41
-fi
42
-# Use ddev if setup (overridding local setup)
43
-if command -v ddev >/dev/null 2>&1; then
+elif command -v ddev >/dev/null 2>&1; then
+ # Use ddev if setup (overridding local setup)
44
if [ -d "$MATOMO_DIR/.ddev" ]; then
45
cd "$MATOMO_DIR" || exit 1
46
if ddev status 2>&1 > /dev/null; then
0 commit comments