cwe: Add a commit message to updates (#43)

Signed-off-by: Simarpreet Singh <simar@linux.com>
This commit is contained in:
Simarpreet Singh 2020-08-06 00:22:55 -07:00 committed by GitHub
parent 319f079602
commit 0692711618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,7 @@ func run() error {
if err := c.Update(); err != nil { if err := c.Update(); err != nil {
return xerrors.Errorf("error in CWE update: %w", err) return xerrors.Errorf("error in CWE update: %w", err)
} }
commitMsg = "CWE Advisories"
default: default:
return xerrors.New("unknown target") return xerrors.New("unknown target")
} }