Commit 8a91e5d7d0d8f6b395588446f94749170b32821e
1 parent
b26abe8f
Exists in
master
and in
4 other branches
Fix DeleteFile satellite action
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/satellite/files/delete_file_action.rb
@@ -20,7 +20,7 @@ module Gitlab | @@ -20,7 +20,7 @@ module Gitlab | ||
20 | File.delete(file_path_in_satellite) | 20 | File.delete(file_path_in_satellite) |
21 | 21 | ||
22 | # add removed file | 22 | # add removed file |
23 | - repo.add(file_path_in_satellite) | 23 | + repo.remove(file_path_in_satellite) |
24 | 24 | ||
25 | # commit the changes | 25 | # commit the changes |
26 | # will raise CommandFailed when commit fails | 26 | # will raise CommandFailed when commit fails |