style: fix prettier formatting in validation.js

This commit is contained in:
gorkem-bwl committed 2025-08-29 00:58:03 -04:00
1 parent c445463c0c
commit ba757b9aa4
1 file changed
+3 -1
+3 -1
View File
@@ -130,7 +130,9 @@ const monitorValidation = joi.object({
then: joi
.string()
.trim()
.regex(/^(\/+)?([a-zA-Z0-9][a-zA-Z0-9_.-]*[a-zA-Z0-9]|[a-zA-Z0-9]+|[a-f0-9]{12,64})$/)
.regex(
/^(\/+)?([a-zA-Z0-9][a-zA-Z0-9_.-]*[a-zA-Z0-9]|[a-zA-Z0-9]+|[a-f0-9]{12,64})$/
)
.messages({
"string.empty": "This field is required.",
"string.pattern.base": "Please enter a valid container name or ID.",