Skip to content

Commit c7c4a76

Browse files
authored
Update website/scripts/fetch-remote-docs.ts
1 parent f74d9ed commit c7c4a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/scripts/fetch-remote-docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function fetchRemoteDocs({ user, repo, branch, docsPath, outputPath, filte
3030
repo,
3131
branch,
3232
docsPath,
33-
filePaths: filePaths.filter((filePath) => /\.md$/.test(filePath)),
33+
filePaths: filePaths.filter((filePath) => filePath.endsWith('.md')),
3434
}
3535
if (filterDocs) {
3636
result.filePaths = result.filePaths.filter(filterDocs)

0 commit comments

Comments
 (0)