cwe: Add a commit message to updates (#43)
Signed-off-by: Simarpreet Singh <simar@linux.com>
This commit is contained in:
parent
319f079602
commit
0692711618
1
main.go
1
main.go
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user