Skip to content

Commit

Permalink
Match - in asset paths
Browse files Browse the repository at this point in the history
  • Loading branch information
blead committed Apr 20, 2023
1 parent b8d353c commit 2d794c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/wf/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2d794c8

Please sign in to comment.