lib/bolt/config.rb in bolt-1.43.0 vs lib/bolt/config.rb in bolt-1.44.0
- old
+ new
@@ -221,10 +221,10 @@
if data[key.to_s]
selected = impl.filter_options(data[key.to_s])
if @future
to_expand = %w[private-key cacert token-file] & selected.keys
to_expand.each do |opt|
- selected[opt] = File.expand_path(selected[opt], @boltdir.path) if opt.is_a?(String)
+ selected[opt] = File.expand_path(selected[opt], @boltdir.path) if selected[opt].is_a?(String)
end
end
@transports[key] = Bolt::Util.deep_merge(@transports[key], selected)
end