diff options
-rwxr-xr-x | src/crawl-http.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crawl-http.js b/src/crawl-http.js index 7553e85..76f3941 100755 --- a/src/crawl-http.js +++ b/src/crawl-http.js @@ -77,7 +77,7 @@ function crawl(absURL, opts = {}, internals = {}) { verboseLog("[Dir] " + linkURL) return crawl(linkURL, opts, Object.assign({}, internals)) - .then(items => ({name, items})) + .then(({ items }) => ({name, items})) } else { // It's a file! |