We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3482b commit 42f26cbCopy full SHA for 42f26cb
patch.go
@@ -414,7 +414,7 @@ func (d *partialArray) set(key string, val *lazyNode) error {
414
415
if idx < 0 {
416
if !SupportNegativeIndices {
417
- return fmt.Errorf("Unable to access invalid index: %d : %w", idx, ErrInvalidIndex)
+ return fmt.Errorf("Unable to access invalid index: %d: %w", idx, ErrInvalidIndex)
418
}
419
if idx < -len(*d) {
420
return fmt.Errorf("Unable to access invalid index: %d: %w", idx, ErrInvalidIndex)
0 commit comments