From 5c8a978b4a88285a48128d01c149588ab1b2ac93 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Thu, 22 Feb 2024 14:16:33 +0100 Subject: [PATCH] Switch startReturningModel to Run to fix linting (#51) Signed-off-by: Jacob Tomlinson --- internal/validator/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/validator/validator.go b/internal/validator/validator.go index 9d2fbb3..b82b8e0 100644 --- a/internal/validator/validator.go +++ b/internal/validator/validator.go @@ -81,7 +81,7 @@ func Validate(image string, configPath string, cmd *cobra.Command, debug bool) ( tty: isTty, } p := tea.NewProgram(m, tea.WithInput(tty), tea.WithOutput(cmd.OutOrStderr())) - out, err := p.StartReturningModel() + out, err := p.Run() if err != nil { return false, err }