mirror of
https://github.com/v2fly/domain-list-community.git
synced 2025-12-05 18:01:15 +07:00
Chore: update dependencies (#2856)
This commit is contained in:
2
main.go
2
main.go
@@ -53,7 +53,7 @@ func (l *ParsedList) toPlainText(listName string) error {
|
||||
entryBytes = append(entryBytes, []byte(entry.Type+":"+entry.Value+attrString+"\n")...)
|
||||
}
|
||||
if err := os.WriteFile(filepath.Join(*outputDir, listName+".txt"), entryBytes, 0644); err != nil {
|
||||
return fmt.Errorf(err.Error())
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user