Skip to content

Commit

Permalink
added more error checking to satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Menet committed Aug 7, 2023
1 parent 0bcdd2d commit 37adcbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ func (a *App) serveCmd(cmd *cobra.Command, args []string) {
a.flags.glob,
)
exitOnErr(err)
s.Run()
err = s.Run()
exitOnErr(err)
}

func (a *App) versionCmd(cmd *cobra.Command, args []string) {
Expand Down

0 comments on commit 37adcbd

Please sign in to comment.