Skip to content

Commit d0fa4ce

Browse files
Bugfix/unr 1905 truncate string correctly (#74)
* fix string truncation * fix substring * change to canonical capitalization
1 parent a789b61 commit d0fa4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/deploy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pushd "spatial"
104104
fields = @(
105105
@{
106106
title = "Build Message"
107-
value = "$env:BUILDKITE_MESSAGE".Substring(0, 64)
107+
value = "$env:BUILDKITE_MESSAGE".Substring(0, [System.Math]::Min(64, "$env:BUILDKITE_MESSAGE".Length))
108108
short = "true"
109109
}
110110
@{

0 commit comments

Comments
 (0)