yumosx opened a new pull request, #3055:
URL: https://github.com/apache/dubbo-go/pull/3055

   The original `fmt` would only output the result of `git status` when it 
failed, without explaining the specific reason for the failure. Now, added 
clear error messaging when formatting issues are found.
   
   - origin:
   ```txt
   Changes not staged for commit:
     (use "git add <file>..." to update what will be committed)
     (use "git restore <file>..." to discard changes in working directory)
        modified:   filter/otel/trace/attachment.go
   ```
   
   - now:
   ```txt
   Checking code format...
   Error: The following files have changes after formatting:
     modified:   filter/otel/trace/attachment.go
   Please run 'make fmt' to fix formatting issues and commit the changes.
   make: *** [check-fmt] Error 1
   ```


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

Reply via email to