Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: don't use -unused.whole-program when PKG is specified
The unused linter's whole program mode will create false-positives when PKG is specified. As a result, anyone trying to use make lint PKG=./pkg/SOMETHING has to carefully read the failure output to see if it was actually a success. By not passing that flag when PKG is specified, more cases of the above command complete without erroneous findings. Release note: None
- Loading branch information