Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aminya opened this issue Feb 20, 2022 · 0 comments
Open

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

aminya opened this issue Feb 20, 2022 · 0 comments

Comments

@aminya
Copy link

aminya commented Feb 20, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant