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 1dafc5cCopy full SHA for 1dafc5c
1 file changed
pr-checks/sync.py
@@ -114,9 +114,7 @@ def writeHeader(checkStream):
114
},
115
]
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'
@@ -138,9 +136,7 @@ def writeHeader(checkStream):
138
136
}
139
137
})
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