Skip to content

Node.js v6: Can't pass null to path module functions #272

Closed
@strawbrary

Description

In Node.js v6, all path functions will now throw an error if they receive a non-string path argument. eslint-import-resolver-node returns path: null for core modules which causes fileExistsWithCaseSync to throw an error.

I wasn't sure if it would be better to make the change in the resolver or the plugin itself so I'm just opening an issue about this for now.

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