lib/pdk/cli/new/transport.rb in pdk-1.17.0 vs lib/pdk/cli/new/transport.rb in pdk-1.18.0

- old
+ new

@@ -18,9 +18,10 @@ raise PDK::CLI::ExitWithError, _("'%{name}' is not a valid transport name") % { name: transport_name } end require 'pdk/generate/transport' - PDK::Generate::Transport.new(PDK::Util.module_root, transport_name, opts).run + updates = PDK::Generate::Transport.new(PDK.context, transport_name, opts).run + PDK::CLI::Util::UpdateManagerPrinter.print_summary(updates, tense: :past) end end end