Skip to content

Commit

Permalink
Switch startReturningModel to Run to fix linting (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Tomlinson <jtomlinson@nvidia.com>
  • Loading branch information
jacobtomlinson authored Feb 22, 2024
1 parent 4c9424e commit 5c8a978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/validator/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5c8a978

Please sign in to comment.