aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/github/config.go')
-rw-r--r--bridge/github/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/config.go b/bridge/github/config.go
index c48c11f6..4a3bddfb 100644
--- a/bridge/github/config.go
+++ b/bridge/github/config.go
@@ -418,7 +418,7 @@ func splitURL(url string) (owner string, project string, err error) {
re, err := regexp.Compile(`github\.com[/:]([a-zA-Z0-9\-_]+)/([a-zA-Z0-9\-_.]+)`)
if err != nil {
- return "", "", err
+ panic("regexp compile:" + err.Error())
}
res := re.FindStringSubmatch(cleanURL)