Skip to content

Commit aad0957

Browse files
Merge pull request #1952 from NativeScript/KristinaKoeva/AddPlugin
failWithoutHelp throws exception so the next line is never really executed
2 parents 5db056f + f159130 commit aad0957

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/commands/plugin/add-plugin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export class AddPluginCommand implements ICommand {
1616
let pluginName = args[0].toLowerCase();
1717
if (_.some(installedPlugins, (plugin: IPluginData) => plugin.name.toLowerCase() === pluginName)) {
1818
this.$errors.failWithoutHelp(`Plugin "${pluginName}" is already installed.`);
19-
return false;
2019
}
2120

2221
return true;

0 commit comments

Comments
 (0)