We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa21ef commit d149c10Copy full SHA for d149c10
lib/commands/plugin/add-plugin.ts
@@ -16,6 +16,7 @@ export class AddPluginCommand implements ICommand {
16
let pluginName = args[0].toLowerCase();
17
if(_.some(installedPlugins, (plugin: IPluginData) => plugin.name.toLowerCase() === pluginName)) {
18
this.$errors.failWithoutHelp(`Plugin "${pluginName}" is already installed.`);
19
+ return false;
20
}
21
22
return true;
0 commit comments