mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
make 🤖 happy
This commit is contained in:
parent
4e5305cb67
commit
d6aacadc4e
|
@ -19,4 +19,3 @@ class ReviewableSensitivitySetting < EnumSiteSetting
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ class DiscourseIpInfo
|
||||||
max_file_size: 100.megabytes,
|
max_file_size: 100.megabytes,
|
||||||
tmp_file_name: "#{name}.gz"
|
tmp_file_name: "#{name}.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
Discourse::Utils.execute_command("gunzip", gz_file.path)
|
Discourse::Utils.execute_command("gunzip", gz_file.path)
|
||||||
|
|
||||||
path = gz_file.path.sub(/\.gz\z/, "")
|
path = gz_file.path.sub(/\.gz\z/, "")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user