Skip to content

Commit

Permalink
tree item removal if path is different (#1951)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebouChu committed May 30, 2024
1 parent 1b3bfd4 commit 0ce105f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/git/providers/github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def update_file(path, previous_path, content)
mode: file[:mode],
type: file[:type],
sha: nil
}
} unless path_to_check == path
batch << {
path: path,
mode: file[:mode],
Expand Down

0 comments on commit 0ce105f

Please sign in to comment.