1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

Fixed category-label.json name in provider/create

This commit is contained in:
Sascha L. Teichmann 2022-07-08 11:24:55 +02:00
parent dc8c89c886
commit f06aae9261

View file

@ -148,7 +148,7 @@ func createFeedFolders(c *config, wellknown string) error {
}
// Store the category document.
if catDoc != nil {
catPath := path.Join(tlpLink, "category.json")
catPath := path.Join(tlpLink, "category-"+string(t)+".json")
if err := util.WriteToFile(catPath, catDoc); err != nil {
return err
}