We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75e8b3 commit 72b73eaCopy full SHA for 72b73ea
scanpipe/pipes/d2d.py
@@ -659,7 +659,10 @@ def _match_purldb_resources(
659
660
for to_resource in progress.iter(resource_iterator):
661
resources_by_sha1[to_resource.sha1].append(to_resource)
662
- if to_resource.path.endswith(".map"):
+ if (
663
+ to_resource.path.endswith(".map")
664
+ and "json" in to_resource.file_type.lower()
665
+ ):
666
for js_sha1 in js.source_content_sha1_list(to_resource):
667
resources_by_sha1[js_sha1].append(to_resource)
668
processed_resources_count += 1
0 commit comments