From de6851a2fba5586ecaa62d38de4e729fd0f752b1 Mon Sep 17 00:00:00 2001 From: zhaogan Date: Wed, 22 Jan 2025 14:54:19 +0800 Subject: [PATCH] shortcutid Signed-off-by: zhaogan --- modulecheck/shortcuts.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modulecheck/shortcuts.json b/modulecheck/shortcuts.json index a4b85883..6ee9af98 100644 --- a/modulecheck/shortcuts.json +++ b/modulecheck/shortcuts.json @@ -32,7 +32,8 @@ "shortcutId": { "description": "Identifies a shortcut. The value is a string with a maximum of 63 bytes.", "type": "string", - "maxLength": 63 + "maxLength": 63, + "pattern": "^[^$].*" }, "label": { "description": "Indicates the label of the shortcut, that is, the text description displayed by the shortcut. The value can be a string or a resource index to description. A string can contain a maximum of 63 bytes. If the value exceeds 63 bytes, use the resource index.", -- Gitee