diff --git a/main.go b/main.go index 36d0f77..be5f1a8 100644 --- a/main.go +++ b/main.go @@ -51,7 +51,7 @@ func main() { if commitRange == "" { if strings.ToLower(os.Getenv("TRAVIS")) == "true" && !*flNoTravis { if os.Getenv("TRAVIS_COMMIT_RANGE") != "" { - commitRange = strings.Replace("...", "..", os.Getenv("TRAVIS_COMMIT_RANGE"), 1) + commitRange = strings.Replace(os.Getenv("TRAVIS_COMMIT_RANGE"), "...", "..", 1) } else if os.Getenv("TRAVIS_COMMIT") != "" { commitRange = os.Getenv("TRAVIS_COMMIT") }