Fix version badge rendering on FreeBSD
Rust CI vsg_bridge_ls passed CI.
MadGobblins/vsg-bridge-ls/pipeline/head This commit looks good
Details
Rust CI vsg_bridge_ls passed CI.
MadGobblins/vsg-bridge-ls/pipeline/head This commit looks good
Details
This commit is contained in:
parent
4010a58a73
commit
4d78f5e6cf
|
|
@ -19,7 +19,7 @@ esac
|
|||
|
||||
value_width=$(awk -v value="$version" 'BEGIN {
|
||||
width = length(value) * 7 + 10
|
||||
print width < 45 ? 45 : width
|
||||
print (width < 45 ? 45 : width)
|
||||
}')
|
||||
badge_width=$((59 + value_width))
|
||||
value_center=$(awk -v width="$value_width" 'BEGIN {
|
||||
|
|
|
|||
Loading…
Reference in New Issue