Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

isEmpty of null #1816

Closed
Closed
@danielstjules

Description

@danielstjules

With 2.2.0, I'm getting:

TypeError: Cannot read property 'isEmpty' of null
    at /Users/dstjules/git/project/node_modules/jscs/lib/reporters/console.js:10:20
    at Array.forEach (native)
    at Object.module.exports [as writer] (/Users/dstjules/git/project/node_modules/jscs/lib/reporters/console.js:9:22)
    at /Users/dstjules/git/project/node_modules/jscs/lib/cli.js:151:18
    at Array.<anonymous> (/Users/dstjules/git/project/node_modules/jscs/node_modules/vow/lib/vow.js:711:56)
    at Immediate.callFns [as _onImmediate] (/Users/dstjules/git/project/node_modules/jscs/node_modules/vow/lib/vow.js:23:35)
    at processImmediate [as _immediateCallback] (timers.js:357:17)

However, fixing that reveals another issue:

TypeError: Cannot read property 'isEmpty' of null
    at /Users/dstjules/git/project/node_modules/jscs/lib/cli.js:155:24

Can't right now, but hopefully I can come up with a small example later tonight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions