Skip to content
Snippets Groups Projects
Commit 5ea438c7 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

clean

parent 90c5d2d0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment