From 0fcd5d991c63894ad216979dbf5e0d84317a933d Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Wed, 17 Apr 2024 23:16:52 -0700 Subject: [PATCH] fix version pattern --- internal/resource/schemas/package.jsonschema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/resource/schemas/package.jsonschema b/internal/resource/schemas/package.jsonschema index 32ae8b6..d6896a9 100644 --- a/internal/resource/schemas/package.jsonschema +++ b/internal/resource/schemas/package.jsonschema @@ -12,7 +12,7 @@ "required": { "description": "version requirement", "type": "string", - "pattern": "^(([><~]*=){0,1}[-_a-zA-Z0-9+.]+|)$" + "pattern": "^([><~=]{0,1}[-_a-zA-Z0-9+.]+|)$" }, "version": { "type": "string"