From a160ff7ef8dd6263c444d1a070537608d4a2af95 Mon Sep 17 00:00:00 2001 From: mitchell Date: Mon, 28 Oct 2024 14:17:52 -0400 Subject: [PATCH] Fixed incorrect commit message operations. --- internal/runners/platforms/remove.go | 2 +- internal/runners/uninstall/uninstall.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/runners/platforms/remove.go b/internal/runners/platforms/remove.go index 85a56d33db..33019cadbf 100644 --- a/internal/runners/platforms/remove.go +++ b/internal/runners/platforms/remove.go @@ -99,7 +99,7 @@ func (a *Remove) Run(params RemoveRunParams) (rerr error) { } // Update local checkout and source runtime changes - if err := reqop_runbit.UpdateAndReload(a.prime, script, oldCommit, locale.Tr("commit_message_added", params.Platform.String()), trigger.TriggerPlatform); err != nil { + if err := reqop_runbit.UpdateAndReload(a.prime, script, oldCommit, locale.Tr("commit_message_removed", params.Platform.String()), trigger.TriggerPlatform); err != nil { return errs.Wrap(err, "Failed to update local checkout") } diff --git a/internal/runners/uninstall/uninstall.go b/internal/runners/uninstall/uninstall.go index be85debf5e..2de3aa2c18 100644 --- a/internal/runners/uninstall/uninstall.go +++ b/internal/runners/uninstall/uninstall.go @@ -137,7 +137,7 @@ func (u *Uninstall) Run(params Params) (rerr error) { pg = nil // Update local checkout and source runtime changes - if err := reqop_runbit.UpdateAndReload(u.prime, script, oldCommit, locale.Tr("commit_message_added", params.Packages.String()), trigger.TriggerUninstall); err != nil { + if err := reqop_runbit.UpdateAndReload(u.prime, script, oldCommit, locale.Tr("commit_message_removed", params.Packages.String()), trigger.TriggerUninstall); err != nil { return errs.Wrap(err, "Failed to update local checkout") }