mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
fix an issue with bin/plugin update with no arguments and no locally installed gems
Fixes #3063
This commit is contained in:
parent
2f2fe21b78
commit
ba00a3805c
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class LogStash::PluginManager::Update < LogStash::PluginManager::Command
|
|||
def execute
|
||||
local_gems = gemfile.locally_installed_gems
|
||||
|
||||
if update_all? || !local_gems.empty?
|
||||
if update_all? && !local_gems.empty?
|
||||
error_plugin_that_use_path!(local_gems)
|
||||
else
|
||||
plugins_with_path = plugins_arg & local_gems
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue