updating the title for the status matcher
This commit is contained in:
parent
3849dfa92c
commit
1b64bffe3f
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ async function handleLol(body, env) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// create a "title" for the status
|
// create a "title" for the status
|
||||||
const title = status.emoji + ' ' + status.content.match(/((\s*\S+){10})([\s\S]*)/)[1] + '...'
|
const title = status.emoji + ' ' + status.content.match(/((\s*\S+){10})([\s\S]*)/)[1].replaceAll('\n', ' ') + '...'
|
||||||
|
|
||||||
// this is the frontmatter data we're adding to the markdown file
|
// this is the frontmatter data we're adding to the markdown file
|
||||||
let frontmatter = {
|
let frontmatter = {
|
||||||
|
|
Loading…
Reference in a new issue