From 2d794c83064ee5880b26408e0f192a061d563d6f Mon Sep 17 00:00:00 2001 From: blead Date: Thu, 20 Apr 2023 19:21:02 +0700 Subject: [PATCH] Match - in asset paths --- pkg/wf/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/wf/utils.go b/pkg/wf/utils.go index 2f30981..e00c8eb 100644 --- a/pkg/wf/utils.go +++ b/pkg/wf/utils.go @@ -24,7 +24,7 @@ func toMasterTablePath(p string) string { } func findAllPaths(b []byte) ([][]byte, error) { - pattern := regexp.MustCompile(`[.$a-zA-Z_0-9]+?/[.$a-zA-Z_0-9/]+`) + pattern := regexp.MustCompile(`[.$a-zA-Z_0-9-]+?/[.$a-zA-Z_0-9/-]+`) return pattern.FindAll(b, -1), nil }