Skip to content

Validation skipped #177

@Tazkazz

Description

@Tazkazz

On this line of code there's validation for fmt to be a string:

if ('string' != typeof fmt) throw new Error('format required');

But if the second argument, passed to constructor, is a number (total), this validation is skipped and, later on, the rendering fails.

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