Skip to content

Commit 0be00b2

Browse files
committed
CLOUDP-283505: Allow empty removals
1 parent a1c638f commit 0be00b2

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ 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 removed the '' enum value from the '/items/dataProcessRegion/region' response property.
15+
identifierRegex = regexp.MustCompile(`'([^']*)'`)
1516
)
1617

1718
type SquashHandler interface {

0 commit comments

Comments
 (0)