From 8a4ab84ed747466d4721ff064d55d3fbd84db94e Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Sat, 4 Nov 2017 17:54:11 +0100
Subject: [PATCH] Correct the path to the project's root

---
 Utils.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Utils.php b/Utils.php
index 8851c0a..d6e6922 100644
--- a/Utils.php
+++ b/Utils.php
@@ -46,7 +46,7 @@ final class Utils {
    */
   public function __construct(Composer $composer) {
     $this->composer = $composer;
-    $this->sourcePath = $composer->getPackage()->getTargetDir();
+    $this->sourcePath = getcwd() . $composer->getPackage()->getTargetDir();
     $this->composerJsonPath = $this->sourcePath . '/composer.json';
     $this->read();
   }
-- 
GitLab