We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92fe2c commit f79021dCopy full SHA for f79021d
test/configuration_file_test.go
@@ -73,7 +73,7 @@ func loadSchema(schemaPath string) (*jsonschema.Schema, error) {
73
return nil, fmt.Errorf("unmarshal schema resource: %w", err)
74
}
75
76
- if err := compiler.AddResource(filepath.Base(schemaPath), doc); err != nil {
+ if err = compiler.AddResource(filepath.Base(schemaPath), doc); err != nil {
77
return nil, fmt.Errorf("add schema resource: %w", err)
78
79
0 commit comments