mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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))
|
FileUtils.mv(path, mmdb_path(name))
|
||||||
ensure
|
ensure
|
||||||
gz_file.close!
|
gz_file&.close!
|
||||||
end
|
end
|
||||||
|
|
||||||
def mmdb_load(filepath)
|
def mmdb_load(filepath)
|
||||||
|
Loading…
Reference in New Issue
Block a user