-
Notifications
You must be signed in to change notification settings - Fork 493
Update shellcheck to 0.8 #776
Copy link
Copy link
Closed
Description
- This is a bug report
- This is a feature request
- I searched existing issues before opening this one
Expected behavior
Using $'\n' in RUN, I should be getting SC3003 and be able to ignore it.
Actual behavior
I'm getting old shellcheck warnings like SC2039 which have been split into multiple ones.
Steps to reproduce the behavior
> docker run --rm --pull=always -i hadolint/hadolint hadolint - <<EOF
FROM scratch
RUN echo $'\n'
EOF
latest: Pulling from hadolint/hadolint
Digest: sha256:1b47f3192d2c69c622863b84d5cccbfa0c1fac9022bfc297aa931e6d44e51608
Status: Image is up to date for hadolint/hadolint:latest
-:2 SC2039 warning: In POSIX sh, $'..' is undefined.Additional environment details (OS, stack version, etc.)
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels