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
It seems the escape parsing is off as only one of the \n in the \n\n has been removed. The name of the variable should be image and not im\nage.
\n
\n\n
image
im\nage
import { DockerfileParser } from 'dockerfile-ast'; const content = "FROM $im\\\n\nage"; let dockerfile = DockerfileParser.parse(content); let variable = dockerfile.getInstructions()[0].getVariables()[0]; console.log(variable.getName());
im age
The text was updated successfully, but these errors were encountered:
2e2b8fa
rcjsuen
No branches or pull requests
It seems the escape parsing is off as only one of the
\n
in the\n\n
has been removed. The name of the variable should beimage
and notim\nage
.The text was updated successfully, but these errors were encountered: