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

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.
This commit is contained in:
Jonathan Budzenski 2021-06-10 12:03:37 -05:00 committed by GitHub
parent 00089bf85a
commit 5ee5720cb7
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);
}