tadayosi commented on code in PR #3363:
URL: https://github.com/apache/camel-k/pull/3363#discussion_r898714856


##########
pkg/resources/resources_support.go:
##########
@@ -146,3 +148,11 @@ func Resources(dirName string) ([]string, error) {
 
        return res, dir.Close()
 }
+
+func fixPath(path string) string {

Review Comment:
   Instead of creatng a custom function, it's better to use the builtin 
function `filepath.FromSlash()`
   https://pkg.go.dev/path/filepath#FromSlash



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to