Closed andrerfcsantos closed 3 years ago
Fixes https://github.com/aluttik/go-crossplane/issues/12
The problem where was that e was pointing to the last position of the d.Args slice, but when an ( parenthesis was removed from the slice, e was not being updated with the new last position of the slice. This PR fixes it.
e
d.Args
(
Added a new test along with this change.
Thanks for the contribution!
Fixes https://github.com/aluttik/go-crossplane/issues/12
The problem where was that
e
was pointing to the last position of thed.Args
slice, but when an(
parenthesis was removed from the slice,e
was not being updated with the new last position of the slice. This PR fixes it.Added a new test along with this change.