Closed GrabCAD-Gary closed 2 years ago
I have the same issue: "hadolint: Cannot read properties of undefined (reading 'length')". Related to the following error coming out of the Hadolint service:
Dockerfile:5 DL3009 info: Delete the apt-get lists after installing something
Similar to https://github.com/michaellzc/vscode-hadolint/issues/65, this should be addressed by #69
Describe the bug A clear and concise description of what the bug is.
Linting not occuring. SEE #62.
To Reproduce Steps to reproduce the behavior:
Expected behaviour A working linter.
Screenshots or Dockerfile N/A
Environment and version (please complete the following information):
-vscode 1.66.2 and earlier versions -hadolint 2.8.0 installed via Scoop -OS: windows 11
Debug information N/A
Additional context Today I noticed that the same thing was happening as reported in #62. This time I reverted to 1.1.0, the version which did not work last time, and that now works. Perhaps there is some rolling version-related issue with VSCode or hadolint, I have no idea. Suffice to say that no linting was happening with 1.1.1 and it is now with 1.1.0.