diff options
-rw-r--r-- | lib/gitlab/satellite/files/delete_file_action.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/satellite/files/delete_file_action.rb b/lib/gitlab/satellite/files/delete_file_action.rb index 8a32a413b96..10d23f7c243 100644 --- a/lib/gitlab/satellite/files/delete_file_action.rb +++ b/lib/gitlab/satellite/files/delete_file_action.rb @@ -20,7 +20,7 @@ module Gitlab File.delete(file_path_in_satellite) # add removed file - repo.add(file_path_in_satellite) + repo.remove(file_path_in_satellite) # commit the changes # will raise CommandFailed when commit fails |