Allow fetching trees with a slash in the tree name
This commit is contained in:
parent
2d46b30a7d
commit
f45d25d81d
|
@ -71,7 +71,7 @@
|
|||
, root = []
|
||||
, folders = { '': root }
|
||||
|
||||
api.getTree(repo.branch + '?recursive=true', function(err, tree) {
|
||||
api.getTree(encodeURIComponent(repo.branch) + '?recursive=true', function(err, tree) {
|
||||
if (err) return done(err)
|
||||
tree.forEach(function(item) {
|
||||
var path = item.path
|
||||
|
|
Loading…
Reference in New Issue