🚨 Update linter and fix new warnings
This commit is contained in:
parent
24436ce28b
commit
186bf5fcba
4 changed files with 24 additions and 21 deletions
|
|
@ -50,11 +50,11 @@ func (a *App) run(ctx context.Context) error {
|
|||
}
|
||||
|
||||
func (a *App) runInLoop(ctx context.Context) error {
|
||||
fmt.Fprintln(a.stdout, "Looping")
|
||||
_, _ = fmt.Fprintln(a.stdout, "Looping")
|
||||
var err error
|
||||
for err == nil {
|
||||
err = a.run(ctx)
|
||||
fmt.Fprintln(a.stdout, err)
|
||||
_, _ = fmt.Fprintln(a.stdout, err)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue