Skip to content

Commit 5c8a978

Browse files
Switch startReturningModel to Run to fix linting (#51)
Signed-off-by: Jacob Tomlinson <[email protected]>
1 parent 4c9424e commit 5c8a978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/validator/validator.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func Validate(image string, configPath string, cmd *cobra.Command, debug bool) (
8181
tty: isTty,
8282
}
8383
p := tea.NewProgram(m, tea.WithInput(tty), tea.WithOutput(cmd.OutOrStderr()))
84-
out, err := p.StartReturningModel()
84+
out, err := p.Run()
8585
if err != nil {
8686
return false, err
8787
}

0 commit comments

Comments
 (0)