Skip to content

Commit

Permalink
Replaced hardcoded package name and instead read it out directly from…
Browse files Browse the repository at this point in the history
… composer.json of this library
  • Loading branch information
retroluxfilm authored and retroluxfilm committed Feb 25, 2024
1 parent c7deae2 commit 4d08b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OMMTask
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class OMMTask
{

// fetch package name directly from composer.json the library uses
$composerConfig = file_get_contents("../composer.json");
$composerConfig = file_get_contents(__DIR__ . "/../composer.json");
if($composerConfig != false){
$composerJson = json_decode($composerConfig);
if($composerJson != NULL) {
Expand Down

0 comments on commit 4d08b30

Please sign in to comment.