From 86c28f2337fae6d599688f7ae814c1bfa416064f Mon Sep 17 00:00:00 2001 From: Randy Fay Date: Tue, 5 Sep 2023 09:52:03 -0600 Subject: [PATCH] hasPrefix args were reversed --- install.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.yaml b/install.yaml index 7637c88..9d66a3b 100644 --- a/install.yaml +++ b/install.yaml @@ -30,7 +30,7 @@ pre_install_actions: - | #ddev-nodisplay #ddev-description:check project type - {{ if not (hasPrefix .platformapp.type "php") }} + {{ if not (hasPrefix "php" .platformapp.type) }} printf "\n\nUnsupported application type {{ .platformapp.type }}.\nOnly php applications are currently supported." >&2 exit 5 {{ end }}