Skip to content

Commit 42f26cb

Browse files
committed
Fix spacing
1 parent 0a3482b commit 42f26cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ func (d *partialArray) set(key string, val *lazyNode) error {
414414

415415
if idx < 0 {
416416
if !SupportNegativeIndices {
417-
return fmt.Errorf("Unable to access invalid index: %d : %w", idx, ErrInvalidIndex)
417+
return fmt.Errorf("Unable to access invalid index: %d: %w", idx, ErrInvalidIndex)
418418
}
419419
if idx < -len(*d) {
420420
return fmt.Errorf("Unable to access invalid index: %d: %w", idx, ErrInvalidIndex)

0 commit comments

Comments
 (0)