mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Fix typos
This commit is contained in:
parent
8fc7f5bfad
commit
59d2cef082
1 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ func run(opts *options, files []string) error {
|
|||
log.Printf("error: loading %q as JSON failed: %v\n", file, err)
|
||||
continue
|
||||
}
|
||||
// Validate agsinst Schema.
|
||||
// Validate against Schema.
|
||||
validationErrs, err := csaf.ValidateCSAF(doc)
|
||||
if err != nil {
|
||||
log.Printf("error: validating %q against schema failed: %v\n",
|
||||
|
|
@ -124,7 +124,7 @@ func run(opts *options, files []string) error {
|
|||
fmt.Printf("%q passes the schema validation.\n", file)
|
||||
}
|
||||
|
||||
// Check filename agains ID
|
||||
// Check filename against ID
|
||||
if err := util.IDMatchesFilename(eval, doc, filepath.Base(file)); err != nil {
|
||||
log.Printf("%s: %s.\n", file, err)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue