Skip to content

Commit ea21c55

Browse files
committed
ignore txt files
1 parent 4aaa513 commit ea21c55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/fetcher/fetch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var (
4141
"amd64": {"arm"},
4242
"windows": {"darwin"},
4343
}
44-
excludedSuffixes = []string{"sum", "sha256", "sbom", "pem", "sig", "rpm"}
44+
excludedSuffixes = []string{"sum", "sha256", "sbom", "pem", "sig", "rpm", "txt"}
4545
)
4646

4747
func New() Fetcher {
@@ -413,7 +413,7 @@ func (f *fetcher) copyTool(dir string, fileName string, targetDir string, target
413413
if len(check) > 0 {
414414
cmd := exec.Command(targetPath, strings.Fields(check)...)
415415
if _, err := cmd.Output(); err != nil {
416-
log.Printf("⚠️ Check failed: %v", err)
416+
log.Printf("🚫 Check failed: %v", err)
417417
} else {
418418
log.Printf("👍 Check was successful")
419419
}

0 commit comments

Comments
 (0)