Better code
This commit is contained in:
1 parent
73cfc43f4b
commit
aedc715ef3
2 files changed
+19
-32
No files matched your search
@@ -542,11 +542,6 @@ func isValidType(t string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (v *Validator) checkType(val parser.Value, expectedType string) bool {
|
||||
// Legacy function, replaced by CUE.
|
||||
return true
|
||||
}
|
||||
|
||||
func (v *Validator) getFileForField(f *parser.Field, node *index.ProjectNode) string {
|
||||
for _, frag := range node.Fragments {
|
||||
for _, def := range frag.Definitions {
|
||||
|
||||
Reference in new issue
Block a user