Skip to content

Commit

Permalink
Fix process checker
Browse files Browse the repository at this point in the history
  • Loading branch information
eppak committed May 17, 2020
1 parent 9d62c33 commit 4e59671
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
Binary file modified builds/laradock-cli
Binary file not shown.
Binary file modified builds/laradock-cli-old.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eppak/laradock-cli",
"description": "Laradock cli",
"version": "0.0.26",
"version": "0.0.27",
"keywords": [
"laradock",
"laravel",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/Services/Docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Eppak\Exceptions\PathNotFoundException;
use Eppak\Contracts\Runner;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;

/**
* (c) Alessandro Cappellozza <alessandro.cappellozza@gmail.com>
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 4e59671

Please sign in to comment.