Skip to content

Commit

Permalink
return nil error
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Apr 15, 2024
1 parent 9a61c9c commit 72a04da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/display/utils/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ func ToMap(data any) (map[string]any, error) {
if err = json.Unmarshal(content, &ret); err != nil {
return nil, err

Check warning on line 55 in cmd/oras/internal/display/utils/json.go

View check run for this annotation

Codecov / codecov/patch

cmd/oras/internal/display/utils/json.go#L55

Added line #L55 was not covered by tests
}
return ret, err
return ret, nil
}

0 comments on commit 72a04da

Please sign in to comment.