Skip to content

Commit

Permalink
refactor: ignore lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Sep 23, 2024
1 parent bc31bbb commit 6782754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/config/registry/package_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (p *PackageInfo) resetByPkgType(typ string) { //nolint:funlen
}
}

func (p *PackageInfo) overrideVersion(child *VersionOverride) *PackageInfo { //nolint:cyclop,funlen,gocyclo
func (p *PackageInfo) overrideVersion(child *VersionOverride) *PackageInfo { //nolint:cyclop,funlen,gocyclo,gocognit
pkg := p.Copy()
if child.Type != "" {
pkg.resetByPkgType(child.Type)
Expand Down
2 changes: 1 addition & 1 deletion pkg/installpackage/checksum.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/suzuki-shunsuke/logrus-error/logerr"
)

func (is *Installer) dlAndExtractChecksum(ctx context.Context, logE *logrus.Entry, pkg *config.Package, assetName string) (string, error) {
func (is *Installer) dlAndExtractChecksum(ctx context.Context, logE *logrus.Entry, pkg *config.Package, assetName string) (string, error) { //nolint:cyclop
file, _, err := is.checksumDownloader.DownloadChecksum(ctx, logE, is.runtime, pkg)
if err != nil {
return "", fmt.Errorf("download a checksum file: %w", err)
Expand Down

0 comments on commit 6782754

Please sign in to comment.