diff --git a/builds/laradock-cli b/builds/laradock-cli index 75bf20b..1371ca9 100755 Binary files a/builds/laradock-cli and b/builds/laradock-cli differ diff --git a/builds/laradock-cli-old.phar b/builds/laradock-cli-old.phar index 95f5575..a699051 100644 Binary files a/builds/laradock-cli-old.phar and b/builds/laradock-cli-old.phar differ diff --git a/composer.json b/composer.json index 259c36c..02274fe 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "eppak/laradock-cli", "description": "Laradock cli", - "version": "0.0.26", + "version": "0.0.27", "keywords": [ "laradock", "laravel", diff --git a/composer.lock b/composer.lock index e33a985..0a2e632 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5b82bad9336ee5b23aadc6f4abe913c5", + "content-hash": "bdd12752cab1e81708338c2c9dd1aa4a", "packages": [ { "name": "composer/ca-bundle", diff --git a/src/Services/Docker.php b/src/Services/Docker.php index 250208b..79d32cc 100644 --- a/src/Services/Docker.php +++ b/src/Services/Docker.php @@ -5,6 +5,7 @@ use Eppak\Exceptions\PathNotFoundException; use Eppak\Contracts\Runner; use Illuminate\Support\Facades\File; +use Illuminate\Support\Str; /** * (c) Alessandro Cappellozza @@ -124,8 +125,9 @@ public function status(): array private function exists($name): bool { foreach ($this->expected as $item) { + $expected = Str::lower("\"{$this->configuration->name()}{$item}\""); - if("\"{$this->configuration->name()}{$item}\"" == $name) { + if($expected == Str::lower($name)) { return true; } }