From 30c6555649b37223c23f9d0af0cd041e2bb1edb8 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 31 May 2018 10:37:40 -0400 Subject: [PATCH] hotfix tag for github urls --- lib/utils/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/utils.js b/lib/utils/utils.js index f9b0c2449..dbad68349 100644 --- a/lib/utils/utils.js +++ b/lib/utils/utils.js @@ -149,7 +149,7 @@ function getExternalContractUrl(file) { // [4] path // [5] branch const match = file.match( - /(git:\/\/)?github\.[a-z]+\/([-a-zA-Z0-9@:%_+.~#?&=]+)\/([-a-zA-Z0-9@:%_+.~#?&=]+)\/([-a-zA-Z0-9@:%_+.~?\/&=]+)#?([a-zA-Z0-1\/_.-]*)?/ + /(git:\/\/)?github\.[a-z]+\/([-a-zA-Z0-9@:%_+.~#?&=]+)\/([-a-zA-Z0-9@:%_+.~#?&=]+)\/([-a-zA-Z0-9@:%_+.~?\/&=]+)#?([a-zA-Z0-9\/_.-]*)?/ ); if (!match) { console.error(MALFORMED_ERROR + file);