fastlane/lib/fastlane/fast_file.rb in fastlane-2.95.0.beta.20180502050125 vs fastlane/lib/fastlane/fast_file.rb in fastlane-2.95.0.beta.20180503050136

- old
+ new

@@ -55,9 +55,10 @@ # rubocop:disable Security/Eval eval(data, parsing_binding, relative_path) # using eval is ok for this case # rubocop:enable Security/Eval rescue SyntaxError => ex line = ex.to_s.match(/#{Regexp.escape(relative_path)}:(\d+)/)[1] + UI.content_error(data, line) UI.user_error!("Syntax error in your Fastfile on line #{line}: #{ex}") end end self