From 5ea438c79b49a780672a329d00d589aa5b8cf6b3 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 21 Sep 2021 19:25:22 +0200 Subject: [PATCH] clean --- app/services/github.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/services/github.rb b/app/services/github.rb index 0f35bb941..fcad5261c 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 -- GitLab