diff --git a/src/find-specs.js b/src/find-specs.js index e424c89d..2c33b0d6 100644 --- a/src/find-specs.js +++ b/src/find-specs.js @@ -1,3 +1,5 @@ +'use strict'; + const fetch = require("node-fetch"); const specs = require("../index.json"); @@ -25,7 +27,7 @@ const watchedBrowserCgs = [ ]; function canonicalizeGhUrl(r) { - url = new URL(r.homepageUrl); + const url = new URL(r.homepageUrl); url.protocol = 'https:'; if (url.pathname.lastIndexOf('/') === 0 && url.pathname.length > 1) { url.pathname += '/';