去掉日志

pre_develop
jingquan huang 6 years ago
parent 88fa6989fe
commit 9ccd8c1c52

@ -371,9 +371,6 @@ class GamesService
end end
if content != last_content if content != last_content
content_modified = 1 content_modified = 1
Rails.logger.info("@@@@@####{params[:evaluate]}")
Rails.logger.info("@@@@@####{params[:evaluate] == 1 ? "commit by author" : "auto commit" }")
code_file = @g.edit_file(@myshixun.gpid, current_user.login, :content => content, :file_path => path, :branch_name => "master", code_file = @g.edit_file(@myshixun.gpid, current_user.login, :content => content, :file_path => path, :branch_name => "master",
:commit_message => (params[:evaluate] == 1 ? "commit by author" : "auto commit" )) :commit_message => (params[:evaluate] == 1 ? "commit by author" : "auto commit" ))
end end

Loading…
Cancel
Save