mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fix(CLI): Ensure processedInput is properly resolved in local fallback
This commit is contained in:
parent
32de9bffed
commit
464467e2be
@ -288,7 +288,9 @@ class Serverless {
|
||||
}
|
||||
);
|
||||
resolveCliInput.clear();
|
||||
const { options, isHelpRequest } = resolveCliInput(commandsSchema);
|
||||
const { commands, options, isHelpRequest } = resolveCliInput(commandsSchema);
|
||||
this.processedInput.commands = this.pluginManager.cliCommands = commands;
|
||||
this.processedInput.options = this.pluginManager.cliOptions = options;
|
||||
if (options.version) {
|
||||
require('./cli/render-version')();
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user