From e59a5ac4c93199bdfbd7012d3bdffaa3a5a13f7e Mon Sep 17 00:00:00 2001 From: Chaitanya-Chatla Date: Wed, 21 Nov 2018 07:15:09 +0000 Subject: [PATCH] Change variable name for better understanding --- lib/impl/jacoco.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/impl/jacoco.js b/lib/impl/jacoco.js index 8c3cc9e..cd4fbea 100644 --- a/lib/impl/jacoco.js +++ b/lib/impl/jacoco.js @@ -8,11 +8,11 @@ parse: function parseJacoco(pathPrefix, jacocoString, options) { return new Promise(function (resolve, reject) { logger.debug('Parsing Jacoco Data'); - var validJacoco = Joi.validate(jacocoString, jacocoStringValidation); + var nonEmptyReport = Joi.validate(jacocoString, jacocoStringValidation); var validOptions = Joi.validate(options, optionsValidation, { stripUnknown: true }); - var validationError = validJacoco.error || validOptions.error; + var validationError = nonEmptyReport.error || validOptions.error; if (validationError) { logger.error(validationError);