fix/ignored image files
This commit is contained in:
1 file changed
+5
-1
+5
-1
@@ -10,6 +10,10 @@ import shutil
|
|||||||
IGNORED: List[str] = [
|
IGNORED: List[str] = [
|
||||||
"node_modules/",
|
"node_modules/",
|
||||||
".min.",
|
".min.",
|
||||||
|
".png",
|
||||||
|
".jpg",
|
||||||
|
".webp",
|
||||||
|
".ico",
|
||||||
"bootstrap/",
|
"bootstrap/",
|
||||||
".history/",
|
".history/",
|
||||||
"package-lock.json",
|
"package-lock.json",
|
||||||
@@ -122,7 +126,7 @@ async def getInsights(repoURL: str, teamID: str) -> Dict[str, str|List]:
|
|||||||
offset += 1
|
offset += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if "Bin" in lines[offset] and "bytes" in lines[offset] and "->" in lines[offset]:
|
if " Bin " in lines[offset] and " bytes" in lines[offset] and " -> " in lines[offset]:
|
||||||
offset += 1
|
offset += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user