Skip to content

Commit

Permalink
Schema should accept either a dict or list for env
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitounator committed Oct 20, 2022
1 parent 144bbae commit c87cca0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/molecule/data/molecule.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,19 @@
"type": "string"
},
"env": {
"items": {
"type": "object"
},
"title": "Platform Environment Variables",
"type": "array"
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "array",
"elements": "string"
}
]
},
"environment": {
"additionalProperties": {
Expand Down

0 comments on commit c87cca0

Please sign in to comment.