fix: remove space between minus and CSS path in parseSelectors

This commit is contained in:
Arik Jones (aider)
2024-09-14 16:54:34 -05:00
parent d66fd04016
commit 39e06ee9d5

View File

@@ -277,7 +277,7 @@ func parseSelectors(selector string) (string, []string) {
includeSelector := strings.TrimSpace(parts[0])
var excludeSelectors []string
for _, part := range parts[1:] {
excludeSelectors = append(excludeSelectors, strings.TrimSpace(part))
excludeSelectors = append(excludeSelectors, strings.TrimPrefix(part, " "))
}
return includeSelector, excludeSelectors
}