From b83c7853c0d4a7d4f91501a70ccb744fb5b85b42 Mon Sep 17 00:00:00 2001 From: apolopena <3060702+apolopena@users.noreply.github.com> Date: Fri, 4 Mar 2022 19:28:43 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20typo=20for=20https://gith?= =?UTF-8?q?ub.com/apolopena/gitpod-laravel-starter/issues/206?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gp/bash/scaffold-project.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gp/bash/scaffold-project.sh b/.gp/bash/scaffold-project.sh index c774c0a9..735dcd83 100644 --- a/.gp/bash/scaffold-project.sh +++ b/.gp/bash/scaffold-project.sh @@ -32,7 +32,7 @@ if [[ ! $_lv =~ ^[6-9]*(\.\*)$ ]]; then fi # Fallback to laravel 8.* if PHP version is < 8.0 and Larvel is 9.* -[[ $_lv == '9.*' && $(bash .gp/bash/utils.sh comp_ver_lt "$_php" 8.0) == 0 ]] && +[[ $_lv == '9.*' && $(bash .gp/bash/utils.sh comp_ver_lt "$_php" 8.0) == 1 ]] && echo "WARNING: laravel $_lv requires PHP 8.*" | tee -a $_log && echo "Falling back to laravel 8.*" && _lv="8.*"