Skip to content

Commit c117f4d

Browse files
committed
Fixed pre-push issue
1 parent cf4db37 commit c117f4d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.git-hooks-matomo/pre-push

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ if command -v php >/dev/null 2>&1; then
3838
COMMAND="${MATOMO_DIR}/vendor/bin/phpstan"
3939
PLUGIN_PATH=''
4040
fi
41-
fi
4241
# Use ddev if setup (overridding local setup)
43-
if command -v ddev >/dev/null 2>&1; then
42+
elif command -v ddev >/dev/null 2>&1; then
4443
if [ -d "$MATOMO_DIR/.ddev" ]; then
4544
cd "$MATOMO_DIR" || exit 1
4645
if ddev status 2>&1 > /dev/null; then

0 commit comments

Comments
 (0)