Skip to content

Commit 06ef8ce

Browse files
committed
Fix os.version typo
😂
1 parent e48b706 commit 06ef8ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oci.jq

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ def validate_oci_descriptor:
213213
validate_IN(type; "object")
214214
| validate(.architecture; type == "string" and length > 0)
215215
| validate(.os; type == "string" and length > 0)
216-
| if has("os.string") then
217-
validate(."os.string"; type == "string" and length > 0)
216+
| if has("os.version") then
217+
validate(."os.version"; type == "string" and length > 0)
218218
else . end
219219
| if has("os.features") then
220220
validate(."os.features"; type == "array")

0 commit comments

Comments
 (0)