Skip to content
Snippets Groups Projects
Commit 8a4ab84e authored by jurgenhaas's avatar jurgenhaas
Browse files

Correct the path to the project's root

parent f4a18c4d
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment