vrt.go: foutmeldingen met newline
This commit is contained in:
@@ -262,7 +262,7 @@ func doArticle(filename string, url string, title string, tags []string, labels
|
||||
found = true
|
||||
}
|
||||
if !found {
|
||||
fouten = append(fouten, fmt.Sprintf("no heading: %s", url))
|
||||
fouten = append(fouten, fmt.Sprintf("no heading: %s\n", url))
|
||||
_ = w(fmt.Errorf("no heading: %s", url))
|
||||
}
|
||||
|
||||
@@ -277,7 +277,7 @@ func doArticle(filename string, url string, title string, tags []string, labels
|
||||
found = true
|
||||
}
|
||||
if !found {
|
||||
fouten = append(fouten, fmt.Sprintf("no text: %s", url))
|
||||
fouten = append(fouten, fmt.Sprintf("no text: %s\n", url))
|
||||
_ = w(fmt.Errorf("no text: %s", url))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user