diff --git a/lib/tasks/homework_git_file.rake b/lib/tasks/homework_git_file.rake index 30169735..f0102c37 100644 --- a/lib/tasks/homework_git_file.rake +++ b/lib/tasks/homework_git_file.rake @@ -17,6 +17,7 @@ namespace :homework do system("tmp/homework_file") if File.exist?("tmp/homework_file") homework_common = HomeworkCommon.find(ENV['args']) student_works = homework_common.student_works + g = Gitlab.client student_works.each do |sw| username = sw.user.try(:show_real_name) myshixun = sw.try(:myshixun)