Merge pull request #3317 from NodudeWasTaken/fix-empty-examples Fix mes examples being undefined if empty
Signed| @@ -3902,7 +3902,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3902 | 3902 | * @returns {string[]} Examples array with block heading |
| 3903 | 3903 | */ |
| 3904 | 3904 | function parseMesExamples(examplesStr) { |
| 3905 | 3905 | if (!examplesStr || examplesStr.length === 0 || examplesStr === '<START>') { |
| 3906 | 3906 | return []; |
| 3907 | 3907 | } |
| 3908 | 3908 | |