Skip to content

Commit

Permalink
Fix reference to version that's been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-H committed Oct 12, 2021
1 parent ca7f648 commit 81fa7dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.2.0-pl
4 changes: 1 addition & 3 deletions application.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@
use modmore\Gitify\Command\UpgradeModxCommand;
use modmore\Gitify\Gitify;

$composerData = file_get_contents(__DIR__ . "/composer.json");
$composerData = json_decode($composerData, true);
$version = $composerData['version'];
$version = trim(@file_get_contents(__DIR__ . '/VERSION'));

$application = new Gitify('Gitify', $version);
$application->add(new InitCommand);
Expand Down

0 comments on commit 81fa7dc

Please sign in to comment.