Skip to content

Commit

Permalink
Issue #18: If there aren't tracked changes, set 'other'
Browse files Browse the repository at this point in the history
  • Loading branch information
omarlopesino committed Nov 27, 2023
1 parent 58df3e0 commit d609f70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/UpdaterCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,10 @@ protected function calculateModuleUpdateCommitMessage(string $package) {
$changes[] = 'configuration changes';
}

if (empty($changes)) {
$changes[] = 'other';
}

return sprintf('UPDATE - %s: %s', $package, implode(', ', $changes));
}

Expand Down

0 comments on commit d609f70

Please sign in to comment.