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:
laurentsimon 2021-12-02 16:54:06 -08:00 committed by GitHub
parent 9ab2b20b07
commit 938c637ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 35 deletions

View File

@ -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

View File

@ -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,
}