From d1cf175a3e24ce0001fb6ef70b90dad417265926 Mon Sep 17 00:00:00 2001 From: Fabian Holler Date: Mon, 27 Nov 2023 17:54:54 +0100 Subject: [PATCH] verify: print a message if the verification succeeded The verify operation did not print anything on success. Print a successful message to indicate that something happened and it succeeded. --- internal/cmd/verify.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/cmd/verify.go b/internal/cmd/verify.go index 2b59e98..079060d 100644 --- a/internal/cmd/verify.go +++ b/internal/cmd/verify.go @@ -1,6 +1,8 @@ package cmd import ( + "fmt" + "github.com/spf13/cobra" "github.com/simplesurance/dependencies-tool/internal/deps" @@ -45,5 +47,7 @@ func (c *verify) run(*cobra.Command, []string) error { return err } + fmt.Println("verification successful") + return nil }