Skip to content

Lint fails if file is empty #5

@hilios

Description

@hilios

In my project I compile the LESS to CSS and lint then, but occurs that I have a variables.less file that actually compiles into a empty css, leading to the error below:

$ gulp lint:css
[gulp] 1 error found in /Users/hilios/Sites/engmonitor.com/static/less/layout/variables.css
[gulp] [GENERAL] Fatal error, cannot continue: Cannot call method 'getLine' of null undefined (undefined)

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