|
|
|
@ -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 = "\"\""
|
|
|
|
|