Fix issue where 0'd commit sha isn't matching properly
Compare changes
+ 1
− 1
@@ -126,7 +126,7 @@ end
@@ -126,7 +126,7 @@ end
In local testing after reports by Matt + Denis, it was found the 0 matching regex wasn't behaving properly. This seems to be caused by ruby auto-casting a 0 only string to a number due to soft typing, which wasn't a problem observed before. The fix forces the var into a string before regex comparisons.
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent