Skip to content

Commit

Permalink
Fix reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Jan 10, 2024
1 parent 0557279 commit bc3ae8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/s3hub/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (m *s3hubRootModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
// View renders the application's UI.
func (m *s3hubRootModel) View() string {
if m.err != nil {
return fmt.Sprintf("%s", m.err.Error())
return ui.ErrorMessage(m.err)
}

if m.quitting {
Expand Down

0 comments on commit bc3ae8c

Please sign in to comment.