From fa72c5ba5ddd2b7a017f4e2af75327fdfef4ce41 Mon Sep 17 00:00:00 2001 From: Pumpudu Date: Wed, 11 Jan 2023 01:33:17 +0600 Subject: [PATCH] change component length limit from 32 characters to 64 (#376) --- theatre/shared/src/utils/slashedPaths.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theatre/shared/src/utils/slashedPaths.ts b/theatre/shared/src/utils/slashedPaths.ts index 9bfc54d..7fbb036 100644 --- a/theatre/shared/src/utils/slashedPaths.ts +++ b/theatre/shared/src/utils/slashedPaths.ts @@ -26,8 +26,8 @@ const getValidationErrorsOfSlashedPath = (p: string): void | string => { for (let i = 0; i < components.length; i++) { const component = components[i].trim() if (component.length === 0) return `the component #${i + 1} is empty.` - if (component.length > 32) - return `the component '${component}' must have 32 characters or less.` + if (component.length > 64) + return `the component '${component}' must have 64 characters or less.` } }