Skip to content

Commit

Permalink
Merge pull request #18007 from MadhavJivrajani/refactor-fix
Browse files Browse the repository at this point in the history
split out subroutine from fix.sh to makefile target
  • Loading branch information
ahrtr committed May 14, 2024
2 parents 7b9013d + b915323 commit 22c40e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ verify: verify-gofmt verify-bom verify-lint verify-dep verify-shellcheck verify-
verify-govet-shadow verify-markdown-marker verify-go-versions

.PHONY: fix
fix: fix-bom fix-lint fix-yamllint
fix: fix-bom fix-lint fix-yamllint sync-toolchain-directive
./scripts/fix.sh

.PHONY: verify-gofmt
Expand Down
3 changes: 0 additions & 3 deletions scripts/fix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ run_for_modules run ${GO_CMD} fmt || exit 2
run_for_module tests bom_fix || exit 2
bash_ws_fix || exit 2

log_callout "Syncing go toolchain directives"
run ./scripts/sync_go_toolchain_directive.sh || exit 2

log_success -e "\\nSUCCESS: etcd code is fixed :)"

0 comments on commit 22c40e1

Please sign in to comment.