Skip to content

Commit e345079

Browse files
ndeloofglours
authored andcommitted
hook command is required
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
1 parent 7ecd36f commit e345079

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schema/compose-spec.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,8 @@
839839
"environment": {"$ref": "#/definitions/list_or_dict"}
840840
},
841841
"additionalProperties": false,
842-
"patternProperties": {"^x-": {}}
842+
"patternProperties": {"^x-": {}},
843+
"required": ["command"]
843844
},
844845

845846
"env_file": {

0 commit comments

Comments
 (0)