lib/pdk/cli/exec/interactive_command.rb in pdk-1.13.0 vs lib/pdk/cli/exec/interactive_command.rb in pdk-1.14.0
- old
+ new
@@ -33,10 +33,12 @@
def exec_group=(_val)
raise _('This method is not implemented for PDK::CLI::Exec::InteractiveCommand')
end
def execute!
+ require 'pdk/util'
+
@resolved_env = resolved_env_for_command
if [:module, :pwd].include?(context)
mod_root = PDK::Util.module_root
@@ -96,9 +98,11 @@
{ exit_code: exit_code, duration: duration }
end
def child_status
+ require 'English'
+
$CHILD_STATUS
end
def stop_spinner
raise _('This method is not implemented for PDK::CLI::Exec::InteractiveCommand')