lib/minke/generators/processor.rb in minke-1.13.5 vs lib/minke/generators/processor.rb in minke-1.13.6
- old
+ new
@@ -57,10 +57,10 @@
@logger.debug command
begin
container, success = @docker_runner.create_and_run_container build_image, ["#{File.expand_path(@variables.src_root)}:/src"], nil, '/src', command
# throw exception if failed
- @helper.fatal_error " #{command}" unless success
+ raise " #{command}" unless success
#command = Minke::Helpers.replace_vars_in_section generator.generate_command, '##SERVICE_NAME##', APPLICATION_NAME
#container, ret = Minke::Docker.create_and_run_container config, command
ensure
@docker_runner.delete_container container
end