scan/lib/scan/error_handler.rb in fastlane-2.74.1 vs scan/lib/scan/error_handler.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -8,21 +8,21 @@
# This method should raise an exception in any case, as the return code indicated a failed build
def handle_build_error(output)
# The order of the handling below is import
case output
when /US\-ASCII/
- print "Your shell environment is not correctly configured"
- print "Instead of UTF-8 your shell uses US-ASCII"
- print "Please add the following to your '~/.bashrc':"
- print ""
- print " export LANG=en_US.UTF-8"
- print " export LANGUAGE=en_US.UTF-8"
- print " export LC_ALL=en_US.UTF-8"
- print ""
- print "You'll have to restart your shell session after updating the file."
- print "If you are using zshell or another shell, make sure to edit the correct bash file."
- print "For more information visit this stackoverflow answer:"
- print "https://stackoverflow.com/a/17031697/445598"
+ print("Your shell environment is not correctly configured")
+ print("Instead of UTF-8 your shell uses US-ASCII")
+ print("Please add the following to your '~/.bashrc':")
+ print("")
+ print(" export LANG=en_US.UTF-8")
+ print(" export LANGUAGE=en_US.UTF-8")
+ print(" export LC_ALL=en_US.UTF-8")
+ print("")
+ print("You'll have to restart your shell session after updating the file.")
+ print("If you are using zshell or another shell, make sure to edit the correct bash file.")
+ print("For more information visit this stackoverflow answer:")
+ print("https://stackoverflow.com/a/17031697/445598")
when /Testing failed/
UI.build_failure!("Error building the application - see the log above")
when /Executed/
# this is *really* important:
# we don't want to raise an exception here