Skip to content

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Peng committed Sep 10, 2019
1 parent d511ac2 commit aa40c7c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions checkLogos.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ function checkTokenLogos() {
return;
}

const options = {
method: 'HEAD',
uri: obj.logo.src
}

request(options, function(err, response) {
request({method: 'HEAD', uri: obj.logo.src}, function(err, response) {
if (err) {
invalidImgArray.push(obj.logo.src);
}
Expand All @@ -28,7 +23,6 @@ function checkTokenLogos() {
}

fs.writeFileSync('./invalidLogoSrc.js', JSON.stringify(invalidImgArray))

})
})
})
Expand Down

0 comments on commit aa40c7c

Please sign in to comment.