Skip to content

Commit

Permalink
refactor: many-to-one logic (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
zakir-code authored Oct 17, 2024
1 parent bb24bdf commit 5a008d6
Show file tree
Hide file tree
Showing 120 changed files with 17,212 additions and 25,525 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ lint-install:
fi

check-no-lint:
@if [ $$(find . -name '*.go' -type f | xargs grep 'nolint\|#nosec' | wc -l) -ne 29 ]; then \
@if [ $$(find . -name '*.go' -type f | xargs grep 'nolint\|#nosec' | wc -l) -ne 26 ]; then \
echo "\033[91m--> increase or decrease nolint, please recheck them\033[0m"; \
echo "\033[91m--> list nolint: \`find . -name '*.go' -type f | xargs grep 'nolint\|#nosec'\`\033[0m"; \
exit 1;\
Expand Down
Loading

0 comments on commit 5a008d6

Please sign in to comment.