Skip to content

Commit

Permalink
chore: update sum db
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan committed Jun 15, 2023
1 parent 578a839 commit 03283c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/commands/operation/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (c Cache) ClearDB() (err error) {
// ClearArtifacts clears the artifact cache
func (c Cache) ClearArtifacts() error {
log.Logger.Info("Removing artifact caches...")
if err := c.Clear(); err != nil {
if err := c.Clear(); err != nil { //nolint:typecheck
return xerrors.Errorf("failed to remove the cache: %w", err)
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/fanal/analyzer/executable/executable.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (a executableAnalyzer) Analyze(_ context.Context, input analyzer.AnalysisIn
return nil, nil
}

dig, err := digest.CalcSHA256(input.Content)
dig, err := digest.CalcSHA256(input.Content) //nolint:typecheck
if err != nil {
return nil, xerrors.Errorf("sha256 error: %w", err)
}
Expand Down

0 comments on commit 03283c5

Please sign in to comment.