tadayosi commented on code in PR #3367: URL: https://github.com/apache/camel-k/pull/3367#discussion_r899081527
########## pkg/resources/resources_support.go: ########## @@ -146,3 +148,7 @@ func Resources(dirName string) ([]string, error) { return res, dir.Close() } + +func openAsset(path string) (http.File, error) { + return assets.Open(filepath.FromSlash(path)) Review Comment: ditto ########## pkg/resources/resources_support.go: ########## @@ -103,8 +104,9 @@ func WithPrefix(pathPrefix string) ([]string, error) { var res []string for i := range paths { - if result, _ := filepath.Match(pathPrefix+"*", paths[i]); result { - res = append(res, paths[i]) + path := filepath.FromSlash(paths[i]) Review Comment: Shouldn't this be `filepath.ToSlash()`? -- 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