tinkerbell / lint-install

Consistently install reasonable linter rules for open-source projects
Apache License 2.0
6 stars 7 forks source link

Use --no-fail when --dockerfile=warn #10

Closed tstromberg closed 3 years ago

tstromberg commented 3 years ago

This fixes a bug where --dockerfile=warn still exits with error code 1, by using the correct flag.

tstromberg commented 3 years ago

Tests are failing due to a bug:

out/linters/golangci-lint-v1.42.0-x86_64 run
19
out/linters/hadolint-v2.7.0-x86_64./test/test.Dockerfile
20
make: out/linters/hadolint-v2.7.0-x86_64./test/test.Dockerfile: Command not found
21
make: *** [Makefile:23: lint] Error 127
22
Error: Process completed with exit code 2.
tstromberg commented 3 years ago

Moving PR to my fork