mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-23 20:19:33 +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
|
// [4] path
|
||||||
// [5] branch
|
// [5] branch
|
||||||
const match = file.match(
|
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) {
|
if (!match) {
|
||||||
console.error(MALFORMED_ERROR + file);
|
console.error(MALFORMED_ERROR + file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user