Unverified Commit 70cc9ddd authored by bryanl's avatar bryanl
Browse files

handle jsonnet ast.ApplyBrace in env files


Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
parent b2f83388
......@@ -63,6 +63,8 @@ func findComponentsObj(node ast.Node) (*ast.Object, error) {
}
}
return nil, fmt.Errorf("Invalid params schema -- there must be a top-level object '%s'", componentsID)
case *ast.ApplyBrace:
return findComponentsObj(n.Right)
}
return nil, fmt.Errorf("Invalid params schema -- did not expect node type: %T", node)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment