Fix lint issue

This commit is contained in:
Sidharth Vinod 2023-10-04 14:26:03 +05:30
parent f49e8c5784
commit 345d0d0bd2
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -21,8 +21,7 @@ const versionPlaceholder = '<MERMAID_RELEASE_VERSION>';
const main = async () => { const main = async () => {
const sourceDirGlob = posix.join('.', SOURCE_DOCS_DIR, '**'); const sourceDirGlob = posix.join('.', SOURCE_DOCS_DIR, '**');
const mdFileGlobs = getGlobs([posix.join(sourceDirGlob, '*.md')]); const mdFileGlobs = getGlobs([posix.join(sourceDirGlob, '*.md')]);
mdFileGlobs.push('!**/community/development.md'); mdFileGlobs.push('!**/community/development.md', '!**/community/code.md');
mdFileGlobs.push('!**/community/code.md');
const mdFiles = await getFilesFromGlobs(mdFileGlobs); const mdFiles = await getFilesFromGlobs(mdFileGlobs);
mdFiles.sort(); mdFiles.sort();
const mdFilesWithPlaceholder: string[] = []; const mdFilesWithPlaceholder: string[] = [];