Fixed code analysis ignoring

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent 9779d8e5b0
commit b0dbfcf091
  1. 2
      BuildServer/lib/tasks/dotnetcompile.js

@ -20,7 +20,7 @@ module.exports = function (params, processor) {
return;
}
} else {
if (!settings.ignoreCodeAnalysisByDefault || params.forceCodeAnalysis) {
if ((!settings.ignoreCodeAnalysisByDefault && !params.ignoreCodeAnalysis) || params.forceCodeAnalysis) {
compileParams.CodeAnalysisRuleSet = settings.codeAnalysisRuleSet;
}
}

Loading…
Cancel
Save