mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
0.27.5 release
This commit is contained in:
@@ -24,7 +24,11 @@ export class ValidationErrorsFormatter {
|
||||
* @returns {string}
|
||||
*/
|
||||
private static formatWithNestedConstraints (error: ValidationError): string {
|
||||
const constraints: TObject<string> = error.constraints;
|
||||
const constraints: TObject<string> | undefined = error.constraints;
|
||||
|
||||
if (!constraints) {
|
||||
return `\`${error.property}\` error\n`;
|
||||
}
|
||||
|
||||
const rootError: string = `\`${error.property}\` errors:\n`;
|
||||
const nestedErrors: string = Object
|
||||
|
||||
Reference in New Issue
Block a user