lib/gym/generators/build_command_generator.rb in gym-1.11.3 vs lib/gym/generators/build_command_generator.rb in gym-1.12.0
- old
+ new
@@ -75,16 +75,16 @@
report_output_junit = Gym.config[:xcpretty_report_junit]
report_output_html = Gym.config[:xcpretty_report_html]
report_output_json = Gym.config[:xcpretty_report_json]
if report_output_junit
pipe << " --report junit --output "
- pipe << report_output_junit
+ pipe << report_output_junit.shellescape
elsif report_output_html
pipe << " --report html --output "
- pipe << report_output_html
+ pipe << report_output_html.shellescape
elsif report_output_json
pipe << " --report json-compilation-database --output "
- pipe << report_output_json
+ pipe << report_output_json.shellescape
end
end
pipe << "> /dev/null" if Gym.config[:suppress_xcode_output]
pipe