Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/pluginmanager/bundler/logstash_injector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def inject(gemfile_path, lockfile_path, dependencies)
definition.remove_platform(specific_platform)
end
definition.add_platform(Gem::Platform.new('java'))
definition.lock(lockfile_path)
definition.lock
gemfile.save
rescue => e
# the error should be handled elsewhere but we need to get the original file if we dont
Expand Down
2 changes: 1 addition & 1 deletion lib/pluginmanager/bundler/logstash_uninstall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def uninstall!(gems_to_remove)
definition = builder.to_definition(lockfile_path, {})

# lock the definition and save our modified gemfile
definition.lock(lockfile_path)
definition.lock
gemfile.save

gems_to_remove.each do |gem_name|
Expand Down