mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
fix: disabling auto align should always return one space
This commit is contained in:
parent
2fafebaee8
commit
8f00773aac
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.27.1
|
||||
// protoc v3.17.3
|
||||
// protoc v3.19.3
|
||||
// source: response.proto
|
||||
|
||||
package srpmprocpb
|
||||
|
@ -134,7 +134,7 @@ func sourcePatchOperationAfterLoop(req *sourcePatchOperationAfterLoopRequest) (b
|
||||
|
||||
func calculateSpaces(longestField int, fieldLength int, disableAutoAlign bool) string {
|
||||
if disableAutoAlign {
|
||||
return ""
|
||||
return " "
|
||||
}
|
||||
return strings.Repeat(" ", longestField+8-fieldLength)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user