Skip to content

Commit

Permalink
Merge pull request #102 from Stuk/list-directories-v2
Browse files Browse the repository at this point in the history
Use given listDirectory function (v2)
  • Loading branch information
kriskowal committed Jun 5, 2014
2 parents 2c515a2 + 9bc07e6 commit 4c9e580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-apps/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ exports.ListDirectories = function (app, listDirectory) {
return Q(app).call(void 0, request)
.then(function (response) {
if (response.directory !== void 0) {
return exports.listDirectory(request, response);
return listDirectory(request, response);
} else {
return response;
}
Expand Down

0 comments on commit 4c9e580

Please sign in to comment.