Skip to content

Unhandled error when computername not set on Mac OS #15

Open
@Holocene

Description

@Holocene

Hi,

It seems that when the ComputerName is not set in Mac OS, the library fails in an unexpected way because scutil does not return a result. Please see this stackoverflow question:

http://stackoverflow.com/questions/36155236/nodejs-error-typeerror-cannot-read-property-stdout-of-undefined

Perhaps the code should throw if a err has a value?

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