remove encode lib, clean all encoded area.
This commit is contained in:
parent
96211b01a8
commit
f1ac2a616b
10 changed files with 10 additions and 73 deletions
|
@ -8,7 +8,7 @@ class Tree
|
|||
def initialize(raw_tree, project, ref = nil, path = nil)
|
||||
@project, @ref, @path = project, ref, path
|
||||
@tree = if path.present?
|
||||
raw_tree / path.dup.force_encoding('ascii-8bit')
|
||||
raw_tree / path
|
||||
else
|
||||
raw_tree
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue