Merge pull request #1 from zitryss/fix_issue

Fix an issue with the git flag
This commit is contained in:
Serge Zaitsev 2018-09-28 09:45:48 +02:00 committed by GitHub
commit 1ef560dcac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ func main() {
options = append(options, api.Log(logger))
for _, path := range gitPaths {
kv := strings.SplitN(path, "=", 2)
kv := strings.SplitN(path, ":", 2)
if len(kv) != 2 {
log.Fatal("bad git path:", path)
}