|
|
|
@ -261,7 +261,7 @@ class MyshixunsController < ApplicationController
|
|
|
|
|
uid_logger_dubug("-- game build: file update #{@sec_key}, record id is #{record.id}, time is **** #{Time.now.strftime("%Y-%m-%d %H:%M:%S.%L")}")
|
|
|
|
|
end
|
|
|
|
|
# 隐藏代码文件 和 VNC的都不需要走版本库
|
|
|
|
|
unless @hide_code || @myshixun.shixun&.vnc_evaluate
|
|
|
|
|
unless @hide_code
|
|
|
|
|
# 远程版本库文件内容
|
|
|
|
|
last_content = GitService.file_content(repo_path: @repo_path, path: path)["content"]
|
|
|
|
|
content = if @myshixun.mirror_name.select {|a| a.include?("MachineLearning") || a.include?("Python")}.present? && params[:content].present?
|
|
|
|
|