Copilot commented on code in PR #38:
URL:
https://github.com/apache/hertzbeat-collector-go/pull/38#discussion_r2646571314
##########
tools/make/golang.mk:
##########
@@ -36,6 +36,9 @@ vet: ## Golang vet
dev: ## Golang dev, run main by run.
go run cmd/main.go server --config etc/hertzbeat-collector.yaml
+.PHONY: run
+run: dev ## Golang dev, run main by run. Compatible with dev.
Review Comment:
The comment for the 'run' target is redundant and unclear. Since 'run' is an
alias that delegates to 'dev', the comment should describe it as such rather
than repeating the same description as 'dev'. Consider changing the comment to
something like "Alias for dev target" or "Run the application (alias for dev)"
to clarify the relationship and purpose.
```suggestion
run: dev ## Alias for dev target (run the application).
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]