Merge pull request #18007 from MadhavJivrajani/refactor-fix

split out subroutine from fix.sh to makefile target
This commit is contained in:
Benjamin Wang
2024-05-14 12:10:47 +01:00
committed by GitHub
2 changed files with 1 additions and 4 deletions

View File

@@ -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

View File

@@ -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 :)"