mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-02-06 06:39:58 +01:00
Minor bug in last pull request
This commit is contained in:
@@ -52,7 +52,7 @@ class Client
|
||||
{
|
||||
$repositories = $this->recurseDirectory($path);
|
||||
|
||||
if (!empty($repositories)) {
|
||||
if (empty($repositories)) {
|
||||
throw new \RuntimeException('There are no GIT repositories in ' . $path);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user