We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
True
False
1 parent 3119b35 commit 645bbd4Copy full SHA for 645bbd4
pr-checks/sync.py
@@ -116,7 +116,7 @@ def writeHeader(checkStream):
116
117
installGo = False
118
if checkSpecification.get('installGo'):
119
- installGo = True if checkSpecification['installGo'].lower() == "true" else False
+ installGo = checkSpecification.get('installGo').lower() == 'true'
120
121
if installGo:
122
baseGoVersionExpr = '>=1.21.0'
@@ -140,7 +140,7 @@ def writeHeader(checkStream):
140
141
installJava = False
142
if checkSpecification.get('installJava'):
143
- installJava = True if checkSpecification['installJava'].lower() == "true" else False
+ installJava = checkSpecification.get('installJava').lower() == 'true'
144
145
if installJava:
146
baseJavaVersionExpr = '17'
0 commit comments