Skip to content

Commit

Permalink
Fixed branch detection
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheidegger committed Apr 2, 2016
1 parent 3fe7231 commit adac4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -32,7 +32,7 @@ function ls (path, callback) {
for (var i = 0; i < list.length; i++) {
var item = list[i]
prefix = 'branches/' + branch + '/' + folder
if (item.path === prefix) {
if (item.path === 'branches/' + branch + '/') {
/*
This branch is actually a branch! lets use it!
*/
Expand Down

0 comments on commit adac4ce

Please sign in to comment.