From 667c25b16276c4200a9bd934c817858997d05a7c Mon Sep 17 00:00:00 2001 From: Slug-Boi Date: Tue, 14 Jan 2025 14:14:24 +0100 Subject: [PATCH] refactor: add update check to cz command --- src/cmd/cz.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmd/cz.go b/src/cmd/cz.go index 00e8edc..7c33774 100644 --- a/src/cmd/cz.go +++ b/src/cmd/cz.go @@ -55,6 +55,10 @@ This will require the user to have commitizen installed on their system.`, } utils.GitWrapper(message, git_flags) + if update { + update_msg() + } + if pflag { fmt.Println(message) }