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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to