Skip to content

Fails when the syntax comment is not the first comment #18

Open
@aminya

Description

@aminya

This is not mentioned in the readme, it took me some time to find the issue, but the syntax comment should be the first comment in the file otherwise it will not work.

Works:

# syntax = edrevo/dockerfile-plus

Doesn't work:

# other comments

# syntax = edrevo/dockerfile-plus

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