Skip to content

Commit e45a90b

Browse files
committed
Address comment
1 parent 8eb3c9e commit e45a90b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/cli/internal/openapi/oasdiff.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ func (o OasDiff) mergePaths() error {
118118
if originalPathData := basePaths.Value(path); originalPathData == nil {
119119
basePaths.Set(path, removeExternalRefs(externalPathData))
120120
} else {
121-
err := o.handlePathConflict(originalPathData, path)
122-
if err != nil {
121+
if err := o.handlePathConflict(originalPathData, path); err != nil {
123122
return err
124123
}
125124
basePaths.Set(path, removeExternalRefs(externalPathData))

0 commit comments

Comments
 (0)