src/indexOld.js
function getVersionInfo(machineName, versionKey) {
        let route = getVersionInfoRoute(machineName, versionKey);
        return jsonfile.readFileSync(repositoryPath + "/" + route);
    }
function getVersionInfo(machineName, versionKey) {
        let route = getVersionInfoRoute(machineName, versionKey);
        return jsonfile.readFileSync(repositoryPath + "/" + route);
    }
function getVersionInfo ( machineName , versionKey ) { let route = getVersionInfoRoute ( machineName , versionKey ) ; return jsonfile . readFileSync ( repositoryPath + "/" + route ) ; }
Retrieve the version info.json file as a JavasScript Object
@method getVersionInfo
@param {String} machineName The name of the machine
@param {String} versionKey The key of the version
@returns {Object} The info Object
Retrieve the version info . json file as a JavasScript Object