Skip to content

Commit

Permalink
fix(plugin-seo): fix logger name and remove debug logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 31, 2024
1 parent 0fcc7f6 commit a692d7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions plugins/plugin-seo/src/node/utils/getImages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export const getImages = (
): string[] =>
Array.from(content.matchAll(IMAGE_REG_EXP))
.map(([, link]) => {
console.log(link)

if (isAbsoluteUrl(link)) return getUrl(hostname, base, link)

if (isUrl(link)) return link
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-seo/src/node/utils/logger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from '@vuepress/helper/node'

export const PLUGIN_NAME = 'vuepress-plugin-seo2'
export const PLUGIN_NAME = '@vuepress/plugin-seo'

export const logger = new Logger(PLUGIN_NAME)

0 comments on commit a692d7a

Please sign in to comment.