We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c931482 commit 5bc580dCopy full SHA for 5bc580d
index.js
@@ -26,6 +26,7 @@ var authProtocols = {
26
var cache = {}
27
28
module.exports.fromUrl = function (giturl, opts) {
29
+ if (typeof giturl !== 'string') return
30
var key = giturl + JSON.stringify(opts || {})
31
32
if (!(key in cache)) {
0 commit comments