diff --git a/src/modules/simple-mover/transfers/CodaExporter.ts b/src/modules/simple-mover/transfers/CodaExporter.ts index 43a0e29..6fa8129 100644 --- a/src/modules/simple-mover/transfers/CodaExporter.ts +++ b/src/modules/simple-mover/transfers/CodaExporter.ts @@ -123,7 +123,7 @@ export class CodaExporter implements IExporter { if (!this.outlineApis) throw Error('No outline token') const mentions = markdownContent.match(CODA_MENTION_REPLACEMENT_REGEX) - if (!mentions?.length) return + if (!mentions) return const emailsSet = new Set(mentions.map(mention => { const email = mention.match(/(?<=mailto:)[^)]+/)