From 2afb0f6d5b0f05a638f28c52cecd9680607e8604 Mon Sep 17 00:00:00 2001 From: xushizhe Date: Thu, 28 Sep 2023 15:26:23 +0800 Subject: [PATCH] relax module name restriction Signed-off-by: xushizhe --- modulecheck/module.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modulecheck/module.json b/modulecheck/module.json index a17f7897..46f99fac 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -191,7 +191,7 @@ "name": { "description": "Indicates the module name.", "type": "string", - "pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$", + "pattern": "^[a-zA-Z][0-9a-zA-Z_\\-.]+$", "maxLength": 31 }, "type": { -- Gitee