|
|
|
@ -206,7 +206,7 @@ class ChallengesController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
# 关卡评测执行文件如果被修改,需要修改脚本内容
|
|
|
|
|
script = modify_shixun_script @shixun, @shixun.evaluate_script
|
|
|
|
|
@shixun.update_column(:evaluate_script, script)
|
|
|
|
|
@shixun.shixun_info.update_column(:evaluate_script, script)
|
|
|
|
|
# TODO:
|
|
|
|
|
# if path != params[:challenge][:path]
|
|
|
|
|
# shixun_modify_status_without_publish(@shixun, 1)
|
|
|
|
|