Skip to content

Commit

Permalink
fix: adjust buildVersionFile for working strict_type
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Richards <[email protected]>
  • Loading branch information
joshtrichards committed Jul 6, 2024
1 parent 8f8ea13 commit b922398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildVersionFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

$currentTag = trim(shell_exec('git describe --tags'));
$currentTag = trim(shell_exec('git describe --tags')) ?? '';
exec('git diff-files --quiet', $output, $returnValue);

$dirty = $returnValue === 0 ? '' : ' dirty';
Expand Down

0 comments on commit b922398

Please sign in to comment.