change && to ||

This commit is contained in:
Robert Brignull
2020-06-11 13:53:30 +01:00
parent 1f2cca021a
commit 8425341ae0
2 changed files with 2 additions and 2 deletions

2
lib/analysis-paths.js generated
View File

@@ -16,7 +16,7 @@ function includeAndExcludeAnalysisPaths(config, languages) {
core.exportVariable('LGTM_INDEX_EXCLUDE', config.pathsIgnore.join('\n'));
}
function isInterpretedLanguage(language) {
return language === 'javascript' && language === 'python';
return language === 'javascript' || language === 'python';
}
// Index include/exclude only work in javascript and python
// If some other language is detected/configured show a warning