Fixed title casing
This commit is contained in:
2
main.ts
2
main.ts
@@ -120,9 +120,11 @@ async function main() {
|
||||
const relevantFiles = await getWorkshopVideos(bot)
|
||||
const { pages: d, errors: parseErrors } = await fetchPages(relevantFiles, bot)
|
||||
const t = writeSections(bucketEvents(d))
|
||||
|
||||
const trigger_summary = 'Triggered by changes to ' + paths.map(v => `[[${v}]]`).join(", ")
|
||||
const error_summary = parseErrors.join("\n")
|
||||
const summary = [trigger_summary, error_summary].filter(v => v !== undefined && v.length > 0).join("\n")
|
||||
|
||||
const response = await bot.save(title, "{{TOC|limit=3}}\n\n" + t, summary);
|
||||
console.log(response)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user