mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 23:13:22 +00:00
fix: Remove unused variable excludeXPaths in ExtractContentWithXPath function
This commit is contained in:
@@ -280,7 +280,7 @@ func ExtractContentWithXPath(content, xpath string) (string, error) {
|
||||
return "", fmt.Errorf("error parsing HTML: %v", err)
|
||||
}
|
||||
|
||||
includeXPath, excludeXPaths := parseSelectors(xpath)
|
||||
includeXPath, _ := parseSelectors(xpath)
|
||||
|
||||
var selectedContent string
|
||||
doc.Find("body").Each(func(i int, s *goquery.Selection) {
|
||||
|
||||
Reference in New Issue
Block a user