Simpler solution for normalization of uploaded files.
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ module Precious
|
|||||||
options.merge! author
|
options.merge! author
|
||||||
end
|
end
|
||||||
|
|
||||||
normalize = !(Gollum::File.image?(fullname) || Gollum::File.binary?(fullname))
|
normalize = Gollum::Page.valid_extension?(fullname)
|
||||||
|
|
||||||
begin
|
begin
|
||||||
committer = Gollum::Committer.new(wiki, options)
|
committer = Gollum::Committer.new(wiki, options)
|
||||||
|
|||||||
Reference in New Issue
Block a user