mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Fixed category-label.json name in provider/create
This commit is contained in:
parent
dc8c89c886
commit
f06aae9261
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ func createFeedFolders(c *config, wellknown string) error {
|
||||||
}
|
}
|
||||||
// Store the category document.
|
// Store the category document.
|
||||||
if catDoc != nil {
|
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 {
|
if err := util.WriteToFile(catPath, catDoc); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue