Skip to content

Commit b73f418

Browse files
fahernandezachew22
authored andcommitted
863 fixing code format
1 parent 657b8ac commit b73f418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protoc-gen-swagger/genswagger/template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,9 +1238,9 @@ func updateSwaggerDataFromComments(swaggerObject interface{}, comment string, ty
12381238
}
12391239
// overrides the schema value only if it's empty
12401240
// keep the comment precedence when updating the package definition
1241-
if descriptionValue.Len() == 0 || typeName == "Package" {
1241+
if descriptionValue.Len() == 0 || typeName == "Package" {
12421242
descriptionValue.Set(reflect.ValueOf(description))
1243-
}
1243+
}
12441244
}
12451245
return nil
12461246
}

0 commit comments

Comments
 (0)