remove unused var

This commit is contained in:
Leo Horie 2017-01-08 21:33:08 -05:00
parent d397e66e03
commit fb2b8a5f79

View file

@ -92,7 +92,7 @@ function ensureLinkIsValid(file, data) {
var path = link.match(/[\w-]+\.md/)
if (link.match(/http/)) {
var u = url.parse(link)
http.request({method: "HEAD", host: u.host, path: u.pathname, port: 80}).on("error", function(r) {
http.request({method: "HEAD", host: u.host, path: u.pathname, port: 80}).on("error", function() {
console.log(file + " - broken external link: " + link)
})
}