Skip to content

Commit 034fec9

Browse files
author
kranurag7
committed
avoid linter warnings
Signed-off-by: kranurag7 <[email protected]>
1 parent a9a3ef3 commit 034fec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/client/github_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (c *realGhClient) GetReleaseByTag(ctx context.Context, tag string) (*github
103103

104104
// DownloadReleaseAssets downloads a list of release assets.
105105
func (c *realGhClient) DownloadReleaseAssets(ctx context.Context, release *github.RepositoryRelease, path string, assetlist []string) error {
106-
if err := os.MkdirAll(path, os.ModePerm); err != nil {
106+
if err := os.MkdirAll(path, os.ModePerm); err != nil { //nolint:gosec //nolint:ignore
107107
return fmt.Errorf("failed to create destination directory: %w", err)
108108
}
109109
// Extract the release assets

0 commit comments

Comments
 (0)