增加调试代码

dev_forum
daiao 5 years ago
parent 3b6827bb33
commit e49bc7faba

@ -128,6 +128,7 @@ module ShixunsHelper
shixun.challenges.map(&:exec_path).each do |exec_path| shixun.challenges.map(&:exec_path).each do |exec_path|
challenge_program_name << "\"#{exec_path}\"" challenge_program_name << "\"#{exec_path}\""
logger.info("----mirror_name: #{shixun.main_mirror_name.try(:first)}") 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 shixun.main_mirror_name.try(:first) == "Java"
if exec_path.nil? || exec_path.split("src/")[1].nil? if exec_path.nil? || exec_path.split("src/")[1].nil?
source = "\"\"" source = "\"\""

Loading…
Cancel
Save