make 🤖 happy

This commit is contained in:
Régis Hanol 2019-05-25 00:32:29 +02:00
parent 4e5305cb67
commit d6aacadc4e
2 changed files with 1 additions and 2 deletions

View File

@ -19,4 +19,3 @@ class ReviewableSensitivitySetting < EnumSiteSetting
end
end

View File

@ -33,7 +33,7 @@ class DiscourseIpInfo
max_file_size: 100.megabytes,
tmp_file_name: "#{name}.gz"
)
Discourse::Utils.execute_command("gunzip", gz_file.path)
path = gz_file.path.sub(/\.gz\z/, "")