FIX: gz_file might be nil here
This commit is contained in:
parent
0725b614c9
commit
14c7aa8829
|
@ -38,7 +38,7 @@ class DiscourseIpInfo
|
|||
|
||||
FileUtils.mv(path, mmdb_path(name))
|
||||
ensure
|
||||
gz_file.close!
|
||||
gz_file&.close!
|
||||
end
|
||||
|
||||
def mmdb_load(filepath)
|
||||
|
|
Loading…
Reference in New Issue