mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
13 lines
358 B
Plaintext
13 lines
358 B
Plaintext
{{# 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 { {{?}}
|