From 061e83d4b4aa66c2691b3699a3e770b2a58d26df Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 24 Sep 2018 16:24:38 +0200 Subject: commands: add "bridge rm" --- bridge/github/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/github') diff --git a/bridge/github/config.go b/bridge/github/config.go index 385630a7..b8531dfe 100644 --- a/bridge/github/config.go +++ b/bridge/github/config.go @@ -214,7 +214,7 @@ func promptURL() (string, string, error) { func splitURL(url string) (string, string, error) { re, err := regexp.Compile(`github\.com\/([^\/]*)\/([^\/]*)`) if err != nil { - return "", "", err + panic(err) } res := re.FindStringSubmatch(url) -- cgit