mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Make validate_archive more thorough
This commit is contained in:
@@ -50,4 +50,10 @@ class ArchiveFile
|
||||
e.read
|
||||
end
|
||||
end
|
||||
|
||||
def check
|
||||
if @archive_file.is_a? Archive::File
|
||||
@archive_file.as(Archive::File).check
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user