Skip to content

Commit 7f0b7f2

Browse files
authored
CLOUDP-283505: Allow empty removals (#275)
1 parent a1c638f commit 7f0b7f2

File tree

1 file changed

+3
-1
lines changed
  • tools/cli/internal/changelog/outputfilter

1 file changed

+3
-1
lines changed

tools/cli/internal/changelog/outputfilter/squash.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ import (
1111
var (
1212
// identifierRegex matches text enclosed in single quotes.
1313
// Example: it'll match "value" from the string "added the new required request property 'value'".
14-
identifierRegex = regexp.MustCompile(`'([^']+)'`)
14+
// Example: it'll match "" and "/items/dataProcessRegion/region" from the string
15+
// "removed the '' enum value from the '/items/dataProcessRegion/region' response property".
16+
identifierRegex = regexp.MustCompile(`'([^']*)'`)
1517
)
1618

1719
type SquashHandler interface {

0 commit comments

Comments
 (0)