diff --git a/app/services/github.rb b/app/services/github.rb index 0f35bb9412aa15fd34fdd693fb6d067ccf8d8ab8..fcad5261cbca3a9881a7325a87809cb2e8afbf48 100644 --- a/app/services/github.rb +++ b/app/services/github.rb @@ -42,12 +42,10 @@ class Github commit_message ||= "[file] Save #{ path }" return if repository.blank? path_without_slash = path[1..-1] - # local_path = attachment.download_blob_to_tempfile client.create_contents repository, path_without_slash, commit_message, attachment.download, - # file: local_path, sha: sha rescue end