diff --git a/Utils.php b/Utils.php index 8851c0ab0e2cfe193f36f3f45eb9ce0396efc5b6..d6e6922e7dd4903606079e5cb6a36edb04bb9226 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(); }