Skip to content

Commit

Permalink
Fix make fmt after vendoring goimports (elastic#8623)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Oct 16, 2018
1 parent d1734f4 commit 1cd33e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ endif

.PHONY: fmt
fmt: add-headers python-env ## @build Runs `goimports -l -w` and `autopep8`on the project's source code, modifying any files that do not match its style.
@go get $(GOIMPORTS_REPO)
@go get $(ES_BEATS)/vendor/$(GOIMPORTS_REPO)
@goimports -local ${GOIMPORTS_LOCAL_PREFIX} -l -w ${GOFILES_NOVENDOR}
@${FIND} -name '*.py' -exec ${PYTHON_ENV}/bin/autopep8 --in-place --max-line-length 120 {} \;

Expand Down

0 comments on commit 1cd33e8

Please sign in to comment.