mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-01 22:09:57 +02:00
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 \
|
||||
echo "golangci-lint in $${dir}"; \
|
||||
(cd "$${dir}" && \
|
||||
$(abspath $(TOOLS_DIR))/golangci-lint run --fix); \
|
||||
$(abspath $(TOOLS_DIR))/golangci-lint run --fix && \
|
||||
$(abspath $(TOOLS_DIR))/golangci-lint run); \
|
||||
done
|
||||
$(TOOLS_DIR)/misspell -w $(ALL_DOCS)
|
||||
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.
|
||||
func (NoopSpan) SetName(name string) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user