aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-04 00:25:27 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-08 17:19:57 +0100
commitf515b9a1291ddd3e4fe1b43bf5891ab19569e33f (patch)
tree05f043ba5d2279f547d6dbc8e2f938c240f9b04d /bridge/github/config.go
parent74e91144105790cc997c1d79a7f638e1e3a1f3f8 (diff)
downloadgit-bug-f515b9a1291ddd3e4fe1b43bf5891ab19569e33f.tar.gz
gitlab also compile
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 9ede72d4..ed32f398 100644
--- a/bridge/github/config.go
+++ b/bridge/github/config.go
@@ -316,7 +316,7 @@ func promptToken() (string, error) {
fmt.Println(" - 'repo' : to be able to read private repositories")
fmt.Println()
- re, err := regexp.Compile(`^[a-zA-Z0-9]{40}`)
+ re, err := regexp.Compile(`^[a-zA-Z0-9]{40}$`)
if err != nil {
panic("regexp compile:" + err.Error())
}