Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jul 23, 2023
1 parent 81cfd00 commit 54e626b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaultActions.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ func ActionMultiParts(sep string, callback func(c Context) Action) Action {

func ActionMultiPartsN(sep string, n int, callback func(c Context) Action) Action {
return ActionCallback(func(c Context) Action {
c.Parts = []string{}
splitted := strings.SplitN(c.Value, sep, n)
prefix := ""
c.Parts = []string{}

switch {
case len(sep) == 0:
Expand Down

0 comments on commit 54e626b

Please sign in to comment.