Cleaning up jsdocs to be more aligned with the standard.

This commit is contained in:
Daniel Scalzi
2018-03-28 16:42:10 -04:00
parent d3c5997baa
commit 4fd202d180
5 changed files with 152 additions and 152 deletions

View File

@@ -143,10 +143,10 @@ function _scanRegistry(){
const javaVer = javaVers[j]
const vKey = javaVer.key.substring(javaVer.key.lastIndexOf('\\')+1)
// Only Java 8 is supported currently.
if(parseFloat(vKey) == 1.8){
if(parseFloat(vKey) === 1.8){
javaVer.get('JavaHome', (err, res) => {
const jHome = res.value
if(jHome.indexOf('(x86)') == -1){
if(jHome.indexOf('(x86)') === -1){
candidates.add(jHome)
cbAcc++
}