删除文件问题

dev_aliyun2
daiao 5 years ago committed by harry
parent 7c65439037
commit ddda30fe9d

@ -60,9 +60,9 @@ module GitHelper
end 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}") Rails.logger.info("#####repo_path:#{repo_path}, tree_path: #{tree_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) author_email: author_email)
end end

Loading…
Cancel
Save