From 2bb5df67a65526e452fd2d9f0067fdd1fe6765eb Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 7 Jan 2020 16:17:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/concerns/git_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/concerns/git_helper.rb b/app/controllers/concerns/git_helper.rb index 53571a09a..f9382de28 100644 --- a/app/controllers/concerns/git_helper.rb +++ b/app/controllers/concerns/git_helper.rb @@ -59,9 +59,9 @@ module GitHelper end # 删除文件 - def git_delete_file(repo_path, file_path, author_name, author_email, message) + def git_delete_file(repo_path, tree_path, author_name, author_email, message) Rails.logger.info("#####repo_path:#{repo_path}, file_path: #{file_path}") - GitService.delete_file(repo_path: repo_path, file_path: file_path, message: message, author_name: author_name, + GitService.delete_file(repo_path: repo_path, tree_path: tree_path, message: message, author_name: author_name, author_email: author_email) end