Skip to content

Specifying no options throws error #3

@lowkay

Description

@lowkay

As in some of the examples, using obj2xml with no options i.e.

var obj2xml = require('obj2xml');

var xml = obj2xml.convert({ example: 'text' });

Throws an error (specifically "Cannot read property 'disableMeta' of undefined").

Not a big deal to work-around by specifying empty options i.e.

var xml = obj2xml.convert({ example: 'text' }, {});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions