Skip to content

Commit

Permalink
Add back deleted flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbob92 committed Mar 31, 2021
1 parent 7aeae9b commit ae9f549
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/lib/dependabot/dependency_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ def support_file?
@support_file
end

def deleted?
operation == Operation::DELETE
end

def binary?
content_encoding == ContentEncoding::BASE64
end
Expand Down

0 comments on commit ae9f549

Please sign in to comment.