amp.dev icon indicating copy to clipboard operation
amp.dev copied to clipboard

import_reference_docs.js fails on empty extension component directory

Open elljoh opened this issue 10 years ago • 1 comments

The following ampproject/amphtml extension breaks at import_reference_docs.js#L167

To reproduce:

TypeError: Cannot read property 'path' of undefined
    at /Users/jellis/dev/projects/yieldbot/amphtml.docs/_scripts/import_reference_docs.js:167:29
    at /Users/jellis/dev/projects/yieldbot/amphtml.docs/node_modules/octonode/lib/octonode/repo.js:471:18
    at Client.errorHandle (/Users/jellis/dev/projects/yieldbot/amphtml.docs/node_modules/octonode/lib/octonode/client.js:196:14)
    at Request._callback (/Users/jellis/dev/projects/yieldbot/amphtml.docs/node_modules/octonode/lib/octonode/client.js:210:24)
    at Request.self.callback (/Users/jellis/dev/projects/yieldbot/amphtml.docs/node_modules/request/request.js:373:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/Users/jellis/dev/projects/yieldbot/amphtml.docs/node_modules/request/request.js:1318:14)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)

elljoh avatar Apr 19 '16 13:04 elljoh

@erwinmombay if you add a documentation file here:

  • https://github.com/ampproject/amphtml/tree/master/extensions/amp-live-list

I think we can just close this issue.

elljoh avatar Apr 22 '16 15:04 elljoh