Skip to content

Commit f1b1157

Browse files
mansonasivakumar-kailasam
authored andcommitted
adding gifs to the image checker
1 parent a2fb6a1 commit f1b1157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helpers/getBadImageUrls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const checkIfPathExists = require('./checkIfPathExists');
44

55
module.exports = function getBadRelativeUrlsForFile(mdFile) {
66
return _.chain(mdFile.links)
7-
.filter(link => link.endsWith('.png'))
7+
.filter(link => link.endsWith('.png') || link.endsWith('.gif'))
88
.map((link) => {
99
// ignore external images
1010
if (link.startsWith('http://') || link.startsWith('https://')) {

0 commit comments

Comments
 (0)