Skip to content

Package errors out when adding @codepen tag to inline block documentation. #1

Open
@indifferentghost

Description

@indifferentghost

How often can you reproduce it?

  • Always

Description:
Package errors out when adding @codepen tag to inline block documentation.

ERROR:
   tag - codepen
   line- @codepen
/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/q/q.js:155
                throw e;
                ^

TypeError: Cannot read property 'codepen' of undefined
    at Object.add (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-html-codepen-link/tags.js:11:31)
    at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-process-tags/process-tags.js:95:29)
    at /Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/code_and_comment.js:41:4
    at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/code.js:42:2)
    at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/code_and_comment.js:40:3)
    at /Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/javascript.js:26:13
    at Array.map (<anonymous>)
    at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/javascript.js:25:29)
    at /Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/process/file.js:80:17
    at Array.some (<anonymous>)

Steps to reproduce:

Expected results:
Successfully ink to codepen and generate documentation properly.

Environment:

Software Version
bit-docs-html-codepen-link version 1.2.1
Browser
Operating system Mac 10.13.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions