change component length limit from 32 characters to 64 (#376)
This commit is contained in:
parent
d6d163d200
commit
fa72c5ba5d
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ const getValidationErrorsOfSlashedPath = (p: string): void | string => {
|
||||||
for (let i = 0; i < components.length; i++) {
|
for (let i = 0; i < components.length; i++) {
|
||||||
const component = components[i].trim()
|
const component = components[i].trim()
|
||||||
if (component.length === 0) return `the component #${i + 1} is empty.`
|
if (component.length === 0) return `the component #${i + 1} is empty.`
|
||||||
if (component.length > 32)
|
if (component.length > 64)
|
||||||
return `the component '${component}' must have 32 characters or less.`
|
return `the component '${component}' must have 64 characters or less.`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue