tinygo
tinygo copied to clipboard
Fix for #4678: top-level 'make lint' wasn't working
As noted in #4678, the revive command seems to have had a syntax error in the file input glob. It appears to have been broken in a way that did not result in a return code being set. This change uses 'find' to build the input to the linter.
Note that it is expected to fail the CI script, because it is uncovering some existing lint issues that were not being caught.
This PR seems like a good thing, but then suddenly will require a followup to fix all of the issues it raises, if I am not mistaken?
You are correct! If the issues that this surfaces aren't important, then an alternative is to just delete this test.
Closing this PR since the commits were merged in #4997
Thank you @cibomahto for the fixes and to @b0ch3nski for review.