Skip to content

Commit e2ed8b9

Browse files
committed
Truncate updates if greater than 200.
1 parent 026cfe0 commit e2ed8b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
var (
15-
version = "0.0.7"
15+
version = "0.0.8"
1616
verbose bool
1717
trace bool
1818
debug bool

Diff for: lib/generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func joinUpdates(updates ...[]Update) []Update {
132132
joinedUpdate = append(joinedUpdate, update...)
133133
}
134134
if len(joinedUpdate) > 200 {
135-
joinedUpdate = joinedUpdate[:200]
135+
joinedUpdate = joinedUpdate[:199]
136136
}
137137
return joinedUpdate
138138
}

0 commit comments

Comments
 (0)