From e49bc7faba06143220941d91483ebea0ecdc8341 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Fri, 26 Jul 2019 11:13:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B0=83=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/shixuns_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/shixuns_helper.rb b/app/helpers/shixuns_helper.rb index 9e1a3ef40..74c1a0510 100644 --- a/app/helpers/shixuns_helper.rb +++ b/app/helpers/shixuns_helper.rb @@ -128,6 +128,7 @@ module ShixunsHelper shixun.challenges.map(&:exec_path).each do |exec_path| challenge_program_name << "\"#{exec_path}\"" logger.info("----mirror_name: #{shixun.main_mirror_name.try(:first)}") + logger.info("----mirror_name1: #{shixun.main_mirror_name.try(:first) == "Java"}") if shixun.main_mirror_name.try(:first) == "Java" if exec_path.nil? || exec_path.split("src/")[1].nil? source = "\"\""