[plugin cli] Remove settings argument from warnings log (#101824) (#101926)

The plugin CLI watches for warnings with a function taking the logger as
an argument.  There are two cases where we're passing a settings object
as the first argument, causing syntax errors instead of properly
logging.  This removes the extra argument.

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
This commit is contained in:
Kibana Machine 2021-06-10 15:09:10 -04:00 committed by GitHub
parent 93a25ee8ad
commit 91db79e446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ function processCommand(command, options) {
const logger = new Logger(settings);
logWarnings(settings, logger);
logWarnings(logger);
install(settings, logger);
}

View file

@ -24,7 +24,7 @@ function processCommand(command, options) {
const logger = new Logger(settings);
logWarnings(settings, logger);
logWarnings(logger);
remove(settings, logger);
}