Make validate_archive more thorough

This commit is contained in:
Alex Ling
2020-05-31 15:14:17 +00:00
parent 4371c7877d
commit bcb95d1462
3 changed files with 8 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ end
def validate_archive(path : String) : Exception?
file = ArchiveFile.new path
file.check
file.close
return
rescue e