Fix lint target (#360)
This commit is contained in:
parent
921ea03c0d
commit
f25c84f35f
3
Makefile
3
Makefile
|
@ -87,7 +87,8 @@ lint: $(TOOLS_DIR)/golangci-lint $(TOOLS_DIR)/misspell $(TOOLS_DIR)/stringer
|
||||||
set -e; for dir in $(ALL_GO_MOD_DIRS); do \
|
set -e; for dir in $(ALL_GO_MOD_DIRS); do \
|
||||||
echo "golangci-lint in $${dir}"; \
|
echo "golangci-lint in $${dir}"; \
|
||||||
(cd "$${dir}" && \
|
(cd "$${dir}" && \
|
||||||
$(abspath $(TOOLS_DIR))/golangci-lint run --fix); \
|
$(abspath $(TOOLS_DIR))/golangci-lint run --fix && \
|
||||||
|
$(abspath $(TOOLS_DIR))/golangci-lint run); \
|
||||||
done
|
done
|
||||||
$(TOOLS_DIR)/misspell -w $(ALL_DOCS)
|
$(TOOLS_DIR)/misspell -w $(ALL_DOCS)
|
||||||
set -e; for dir in $(ALL_GO_MOD_DIRS); do \
|
set -e; for dir in $(ALL_GO_MOD_DIRS); do \
|
||||||
|
|
|
@ -73,4 +73,4 @@ func (NoopSpan) AddEventWithTimestamp(ctx context.Context, timestamp time.Time,
|
||||||
|
|
||||||
// SetName does nothing.
|
// SetName does nothing.
|
||||||
func (NoopSpan) SetName(name string) {
|
func (NoopSpan) SetName(name string) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue