Unverified Commit 45553db4 authored by Bryan Liles's avatar Bryan Liles Committed by GitHub
Browse files

Merge pull request #389 from bryanl/bug-snippet-jsonnet-10

handle jsonnet ast.ApplyBrace in env files
parents b2f83388 70cc9ddd
......@@ -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