fix(nx-dev): fix regex (#18610)

This commit is contained in:
Isaac Mann 2023-08-14 08:30:53 -04:00 committed by GitHub
parent fa513731d4
commit b8a64a16cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ export default class NxMarkdownTheme extends MarkdownTheme {
return ( return (
super super
.render(page, template) .render(page, template)
.replace(/.md/gi, '') .replace(/\.md/gi, '')
/** /**
* Hack: This is the simplest way to update the urls and make them work * Hack: This is the simplest way to update the urls and make them work
* in the `/packages/[name]/documents/[index|ngcli_adapter] context. * in the `/packages/[name]/documents/[index|ngcli_adapter] context.