mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-17 11:57:12 +03:00
rem audio files (#1300)
Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com> Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
This commit is contained in:
parent
9ab2b20b07
commit
938c637ee0
@ -60,40 +60,30 @@ func checkBinaryFileContent(path string, content []byte,
|
||||
}
|
||||
|
||||
binaryFileTypes := map[string]bool{
|
||||
"crx": true,
|
||||
"deb": true,
|
||||
"dex": true,
|
||||
"dey": true,
|
||||
"elf": true,
|
||||
"o": true,
|
||||
"so": true,
|
||||
"iso": true,
|
||||
"class": true,
|
||||
"jar": true,
|
||||
"bundle": true,
|
||||
"dylib": true,
|
||||
"lib": true,
|
||||
"msi": true,
|
||||
"acm": true,
|
||||
"ax": true,
|
||||
"cpl": true,
|
||||
"dll": true,
|
||||
"drv": true,
|
||||
"efi": true,
|
||||
"exe": true,
|
||||
"mui": true,
|
||||
"ocx": true,
|
||||
"scr": true,
|
||||
"sys": true,
|
||||
"tsp": true,
|
||||
"pyc": true,
|
||||
"pyo": true,
|
||||
"par": true,
|
||||
"rpm": true,
|
||||
"swf": true,
|
||||
"torrent": true,
|
||||
"cab": true,
|
||||
"whl": true,
|
||||
"crx": true,
|
||||
"deb": true,
|
||||
"dex": true,
|
||||
"dey": true,
|
||||
"elf": true,
|
||||
"o": true,
|
||||
"so": true,
|
||||
"iso": true,
|
||||
"class": true,
|
||||
"jar": true,
|
||||
"bundle": true,
|
||||
"dylib": true,
|
||||
"lib": true,
|
||||
"msi": true,
|
||||
"dll": true,
|
||||
"drv": true,
|
||||
"efi": true,
|
||||
"exe": true,
|
||||
"ocx": true,
|
||||
"pyc": true,
|
||||
"pyo": true,
|
||||
"par": true,
|
||||
"rpm": true,
|
||||
"whl": true,
|
||||
}
|
||||
var t types.Type
|
||||
var err error
|
||||
|
@ -74,7 +74,7 @@ var _ = Describe("E2E TEST:"+checks.CheckBinaryArtifacts, func() {
|
||||
expected := scut.TestReturn{
|
||||
Error: nil,
|
||||
Score: checker.MinResultScore,
|
||||
NumberOfWarn: 34,
|
||||
NumberOfWarn: 24,
|
||||
NumberOfInfo: 0,
|
||||
NumberOfDebug: 0,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user