From d609f709e2ef0655ac17c9b556c739d6874bd11f Mon Sep 17 00:00:00 2001 From: Omar Date: Mon, 27 Nov 2023 10:44:06 +0100 Subject: [PATCH] Issue #18: If there aren't tracked changes, set 'other' --- src/UpdaterCommand.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/UpdaterCommand.php b/src/UpdaterCommand.php index e2edeaa..5a20d22 100644 --- a/src/UpdaterCommand.php +++ b/src/UpdaterCommand.php @@ -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)); }