Remove parsing of queries, packs, paths, and pathsIgnore
This commit is contained in:
parent
f934b28e51
commit
f65fc6a926
27 changed files with 72 additions and 3373 deletions
3
lib/init.js
generated
3
lib/init.js
generated
|
|
@ -69,7 +69,8 @@ exports.runInit = runInit;
|
|||
function printPathFiltersWarning(config, logger) {
|
||||
// Index include/exclude/filters only work in javascript/python/ruby.
|
||||
// If any other languages are detected/configured then show a warning.
|
||||
if ((config.paths.length !== 0 || config.pathsIgnore.length !== 0) &&
|
||||
if ((config.originalUserInput.paths?.length !== 0 ||
|
||||
config.originalUserInput["paths-ignore"]?.length !== 0) &&
|
||||
!config.languages.every(languages_1.isScannedLanguage)) {
|
||||
logger.warning('The "paths"/"paths-ignore" fields of the config only have effect for JavaScript, Python, and Ruby');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue