diff --git a/1_parser/parser.go b/1_parser/parser.go index 9f7ccec8..1c476fcb 100644 --- a/1_parser/parser.go +++ b/1_parser/parser.go @@ -101,7 +101,7 @@ func Parse(git *client.GitClient, ranges string) (*Scope, error) { versions := strings.Split(ranges, "~") if ranges == "" { - versions = append(versions, "HEAD") + versions[0] = "HEAD" latestTag, err := git.TagN(0) if err != nil {