mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-26 01:16:56 +01:00
13 lines
358 B
Text
13 lines
358 B
Text
|
{{# def.definitions }}
|
||
|
{{# def.errors }}
|
||
|
{{# def.setupKeyword }}
|
||
|
{{# def.$data }}
|
||
|
|
||
|
{{# def.numberKeyword }}
|
||
|
|
||
|
{{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
|
||
|
if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
|
||
|
{{ var $errorKeyword = $keyword; }}
|
||
|
{{# def.error:'_limitLength' }}
|
||
|
} {{? $breakOnError }} else { {{?}}
|