lib/aruba/processes/debug_process.rb in aruba-0.13.0 vs lib/aruba/processes/debug_process.rb in aruba-0.14.0
- old
+ new
@@ -15,20 +15,16 @@
# Use only if mode is :debug
def self.match?(mode)
mode == :debug || (mode.is_a?(Class) && mode <= DebugProcess)
end
- # rubocop:disable Metrics/MethodLength
- # rubocop:disable Metrics/CyclomaticComplexity
def start
Dir.chdir @working_directory do
Aruba.platform.with_environment(environment) do
@exit_status = system(command, *arguments) ? 0 : 1
end
end
end
- # rubocop:enable Metrics/CyclomaticComplexity
- # rubocop:enable Metrics/MethodLength
# Return stdin
#
# @return [NilClass]
# Nothing