lib/pdk/cli/update.rb in pdk-1.13.0 vs lib/pdk/cli/update.rb in pdk-1.14.0

- old
+ new

@@ -1,8 +1,5 @@ -require 'pdk/cli/util' -require 'pdk/util' - module PDK::CLI @update_cmd = @base_cmd.define_command do name 'update' usage _('update [options]') summary _('Update a module that has been created by or converted for use by PDK.') @@ -11,9 +8,11 @@ flag nil, :force, _('Update the module automatically, with no prompts.') PDK::CLI.template_ref_option(self) run do |opts, _args, _cmd| + require 'pdk/cli/util' + require 'pdk/util' require 'pdk/module/update' PDK::CLI::Util.ensure_in_module!( message: _('`pdk update` can only be run from inside a valid module directory.'), log_level: :info,