Skip to content

Commit 189c321

Browse files
committed
Trial and Error
For some reason Travis is starting to exhibit problems with code that has not changed in months. This problem is not exhibited on machines locally, so I'm changing the code a bit in a trial and error attempt to fix Travis.
1 parent 514a711 commit 189c321

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

lib/java_buildpack/buildpack.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,9 @@ def instantiate(components, additional_libraries, application, java_home, java_o
127127
require_component(component)
128128

129129
component_id = component.split('::').last.snake_case
130-
context = {
131-
application: application,
132-
configuration: Util::ConfigurationUtils.load(component_id),
133-
droplet: Component::Droplet.new(additional_libraries, component_id, java_home, java_opts, root) }
130+
context = { application: application,
131+
configuration: Util::ConfigurationUtils.load(component_id),
132+
droplet: Component::Droplet.new(additional_libraries, component_id, java_home, java_opts, root) }
134133

135134
component.constantize.new(context)
136135
end

0 commit comments

Comments
 (0)