mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
hotfix tag for github urls
This commit is contained in:
parent
7d28cdfd01
commit
30c6555649
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user