Skip to content

Commit

Permalink
adding gifs to the image checker
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona authored and sivakumar-kailasam committed May 4, 2018
1 parent a2fb6a1 commit f1b1157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/getBadImageUrls.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const checkIfPathExists = require('./checkIfPathExists');

module.exports = function getBadRelativeUrlsForFile(mdFile) {
return _.chain(mdFile.links)
.filter(link => link.endsWith('.png'))
.filter(link => link.endsWith('.png') || link.endsWith('.gif'))
.map((link) => {
// ignore external images
if (link.startsWith('http://') || link.startsWith('https://')) {
Expand Down

0 comments on commit f1b1157

Please sign in to comment.