mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix(CLI): Output "Plugin: " prefix only for external plugin comands
This commit is contained in:
parent
a9a48f675e
commit
acf720cdef
@ -297,7 +297,9 @@ functionalities related to given service or current environment.`
|
||||
}
|
||||
|
||||
// print the name of the plugin
|
||||
this.consoleLog(chalk.yellow.underline(`Plugin: ${command.pluginName}`));
|
||||
this.consoleLog(
|
||||
chalk.yellow.underline(`${command.isExternal ? 'Plugin: ' : ''}${command.pluginName}`)
|
||||
);
|
||||
|
||||
this.displayCommandUsage(command, commandName);
|
||||
this.displayCommandOptions(command);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user