Skip to content

0.3.7 crashes when creating tables without options #153

@DavidOStewart

Description

@DavidOStewart

https://github.com/Automattic/cli-table/blob/master/lib/index.js#L51

if (options.rows) throws when options is undefined, which happens occurs when creating a table with an empty constructor:

const table = new Table().

Pin version to 0.3.6 to retain original functionality.

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