Skip to content

Commit

Permalink
new linting update
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <[email protected]>
  • Loading branch information
ripienaar committed Sep 30, 2024
1 parent e59e2b1 commit 6f65c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion surveyor/jetstream_advisories.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package surveyor

import (
"encoding/json"
"errors"
"fmt"
"io/fs"
"os"
Expand Down Expand Up @@ -322,7 +323,7 @@ func (o *JSAdvisoryConfig) Validate() error {
return nil
}

return fmt.Errorf(strings.Join(errs, ", "))
return errors.New(strings.Join(errs, ", "))
}

func (o *JSAdvisoryConfig) copy() *JSAdvisoryConfig {
Expand Down

0 comments on commit 6f65c08

Please sign in to comment.