We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import { DockerfileParser } from 'dockerfile-ast'; const content = `FROM alpine ARG var=8000 FROM alpine` let dockerfile = DockerfileParser.parse(content); console.log(dockerfile.getAvailableVariables(2).length);
With the code above, 1 will be returned instead of 0. It shouldn't be finding the var variable defined on the second line.
1
0
var
The text was updated successfully, but these errors were encountered:
Fixed by 54bf5c3. I wrote the wrong issue number in the commit message. :(
Sorry, something went wrong.
rcjsuen
No branches or pull requests
With the code above,
1
will be returned instead of0
. It shouldn't be finding thevar
variable defined on the second line.The text was updated successfully, but these errors were encountered: