Skip to content

Commit

Permalink
updated confirmation.go file.
Browse files Browse the repository at this point in the history
Signed-off-by: Althaf66 <althafasharaf02@gmail.com>
  • Loading branch information
Althaf66 committed Jun 8, 2024
1 parent 4667f2d commit a926e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/views/confirmation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
log "github.com/sirupsen/logrus"
)

func UserElevateConfirm() bool{
func ConfirmElevation() (bool, error){
var confirm bool

err := huh.NewConfirm().
Expand All @@ -17,7 +17,7 @@ func UserElevateConfirm() bool{
log.Fatal(err)
}

return confirm
return confirm, nil
}


Expand Down

0 comments on commit a926e84

Please sign in to comment.