Skip to content

Commit 9a14345

Browse files
committed
fix: Bug sur la BP des images optimisées #3
1 parent bfd1b90 commit 9a14345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/best-practice.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function extractUrls(result: Result, key: string): string[] {
3030
return []
3131
}
3232

33-
return items.map((item) => item.url)
33+
return items.filter((item) => !!item.url).map((item) => item.url)
3434
}
3535

3636
export class BPLazyLoading implements BestPractice {

0 commit comments

Comments
 (0)