Skip to content

Commit

Permalink
hasPrefix args were reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Sep 5, 2023
1 parent 0f5ccd3 commit 86c28f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 86c28f2

Please sign in to comment.