From fec646062e101e80985e604e422d512029fd06e2 Mon Sep 17 00:00:00 2001 From: Klaus Silveira Date: Fri, 25 May 2012 18:07:18 -0300 Subject: [PATCH] Minor bug in last pull request --- lib/Git/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Git/Client.php b/lib/Git/Client.php index bdb5a48..595274c 100644 --- a/lib/Git/Client.php +++ b/lib/Git/Client.php @@ -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); }