Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function(err, results) {
if (err) {
log.error('Error getting versions: %s', inspect(err));
return cb(err);
}
var osVersion = os.platform() + ' ' + os.release();
var headlessVersion = results[0];
var javaVersion = results[1];
var headlessName = config.headless === 'slimerjs' ? 'SlimerJS' : 'PhantomJS';
log.info(
'OS: \'%s\', Node.js: \'%s\', sitespeed.io: \'%s\', %s: \'%s\', java: \'%s\', browsertime: \'%s\'',
osVersion, process.version, sitespeedVersion, headlessName, headlessVersion, javaVersion, browserTimeVersion);
return cb();
});