Skip to content

Commit ec991c1

Browse files
committed
docs: updates README.md usage snippet
Signed-off-by: Jennifer Power <[email protected]>
1 parent cb28c51 commit ec991c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func main() {
5252
if err != nil {
5353
log.Fatalf("failed to open component definition, %v", err)
5454
}
55-
definition, err := models.NewComponentDefinition(file)
55+
definition, err := models.NewComponentDefinition(file, validation.NoopValidator{})
5656
if err != nil {
5757
log.Fatalf("failed to read component definition, %v", err)
5858
}

0 commit comments

Comments
 (0)