lowercase

This commit is contained in:
f 2025-01-06 01:51:04 +03:00
parent 3e513bb5cc
commit b79dbb2c18
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ jobs:
.join('\n');
console.log('Attempting to extract prompts from README changes...');
const promptMatches = [...addedLines.matchAll(/## Act as (?:a |an )?([^\n]+)\n(?:Contributed by:[^\n]*\n)?(?:> )?([^#]+?)(?=\n##|\n\n##|$)/g)];
const promptMatches = [...addedLines.matchAll(/## Act as (?:a |an )?([^\n]+)\n(?:Contributed by:[^\n]*\n)?(?:> )?([^#]+?)(?=\n##|\n\n##|$)/ig)];
for (const match of promptMatches) {
const actName = `Act as ${match[1].trim()}`;