Closed rcjsuen closed 9 months ago
We should be able to go from the delimiter back to the declaration.
FROM alpine RUN echo <<file abc file
const lib = require("dockerfile-language-service"); const service = lib.DockerfileLanguageServiceFactory.createLanguageService(); const definition = service.computeDefinition({ uri: "uri://Dockerfile" }, "FROM alpine\nRUN echo <<file\nabc\nfile", { line: 3, character: 2 }); console.log(definition);
null
We should be able to go from the delimiter back to the declaration.