mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
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:
parent
93a25ee8ad
commit
91db79e446
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ function processCommand(command, options) {
|
|||
|
||||
const logger = new Logger(settings);
|
||||
|
||||
logWarnings(settings, logger);
|
||||
logWarnings(logger);
|
||||
install(settings, logger);
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ function processCommand(command, options) {
|
|||
|
||||
const logger = new Logger(settings);
|
||||
|
||||
logWarnings(settings, logger);
|
||||
logWarnings(logger);
|
||||
remove(settings, logger);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue