Skip to content

Commit

Permalink
fix(scaffold): stop patching checksum settings
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Feb 2, 2023
1 parent e7f7b55 commit 7eebec9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ linters:
- interfacer # WARN [runner] The linter 'interfacer' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner.
- scopelint # WARN [runner] The linter 'scopelint' is deprecated (since v1.39.0) due to: The repository of the linter has been deprecated by the owner. Replaced by exportloopref.
- ifshort # WARN [runner] The linter 'ifshort' is deprecated (since v1.48.0) due to: The repository of the linter has been deprecated by the owner.
- varcheck # WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
- deadcode # WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
- structcheck # WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
- wsl
- goerr113
- lll
Expand Down
6 changes: 0 additions & 6 deletions pkg/scaffold/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import (

genrg "github.com/aquaproj/registry-tool/pkg/generate-registry"
"github.com/aquaproj/registry-tool/pkg/initcmd"
"github.com/aquaproj/registry-tool/pkg/patchchecksum"
"github.com/sirupsen/logrus"
)

const (
Expand Down Expand Up @@ -68,10 +66,6 @@ func aquaGR(ctx context.Context, pkgName, rgFilePath string) error {
if err := cmd.Run(); err != nil {
return fmt.Errorf("execute a command: %w", err)
}
logE := logrus.NewEntry(logrus.New())
if err := patchchecksum.PatchChecksum(ctx, logE, rgFilePath); err != nil {
return fmt.Errorf("patch the checksum config: %w", err)
}
return nil
}

Expand Down

0 comments on commit 7eebec9

Please sign in to comment.