Skip to content

Commit

Permalink
Remove unused lint directive
Browse files Browse the repository at this point in the history
  • Loading branch information
chainchad committed Nov 27, 2024
1 parent 1b44e1c commit 72c98a4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func (m *moduleOperator) GetGitInfo(remote, branch string) (string, time.Time, e
return "", time.Time{}, fmt.Errorf("%w: empty SHA from git ls-remote", ErrModOperation)
}

//nolint:gosec // SHA is obtained from git ls-remote output above
cmd = exec.CommandContext(ctx, "git", "show", "-s", "--format=%cI", sha)
out, err = cmd.Output()
if err != nil {
Expand Down

0 comments on commit 72c98a4

Please sign in to comment.