Skip to content

Commit

Permalink
fix bitbucket issue with periods in names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Jan 11, 2021
1 parent 1972a6a commit 2fa7bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func removeBundleIfDuplicate(dir string) {
fNameTimes := map[string]int{}

for _, f := range files {
if strings.Count(f.Name(), ".") < minBundleFileNameTokens-1 {
if strings.Count(f.Name(), ".") >= minBundleFileNameTokens-1 {
parts := strings.Split(f.Name(), ".")
strTimestamp := parts[len(parts)-2]
intTimestamp, convErr := strconv.Atoi(strTimestamp)
Expand Down

0 comments on commit 2fa7bdf

Please sign in to comment.