@zohodesk/codestandard-analytics
Advanced tools
Comparing version 0.0.2-exp-2 to 0.0.2-exp-3
@@ -50,3 +50,3 @@ "use strict"; | ||
excludedFiles | ||
} = await (0, _requestUtils.checkForExemptionNeed)((0, _getSonarProperties.getProjectNameForExemption)()); | ||
} = await (0, _requestUtils.checkForExemptionNeed)((0, _getSonarProperties.getProjectNameForExemption)(cliParams)); | ||
isExemptionApplied ? JsFiles = (0, _getFileUtils.filterExemptionFiles)(excludedFiles, JsFiles) : null; | ||
@@ -53,0 +53,0 @@ isExemptionApplied == false && _logger.Logger.log(_logger.Logger.FAILURE_TYPE, 'Exemption is not required !'); |
@@ -98,4 +98,7 @@ "use strict"; | ||
function getProjectNameForExemption() { | ||
const default_project = getProjectNameFrmGit(); | ||
function getProjectNameForExemption(cliParams) { | ||
const { | ||
developerName = undefined | ||
} = cliParams; | ||
const default_project = getProjectNameFrmGit(developerName); | ||
return `${default_project}_Exemption-report`; | ||
@@ -102,0 +105,0 @@ } |
{ | ||
"name": "@zohodesk/codestandard-analytics", | ||
"version": "0.0.2-exp-2", | ||
"version": "0.0.2-exp-3", | ||
"description": "linting tool", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
737045
2215