Skip to content

Commit

Permalink
remove redundant console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
reorx committed Apr 18, 2022
1 parent 7a62a26 commit 5765eae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ export default class PasteImageRenamePlugin extends Plugin {
if (activeFile) {
const fileCache = this.app.metadataCache.getFileCache(activeFile)
if (fileCache) {
console.log('fileCache', fileCache)
debugLog('frontmatter', fileCache.frontmatter)
imageNameKey = fileCache.frontmatter?.imageNameKey || ''
} else {
Expand All @@ -189,7 +188,6 @@ export default class PasteImageRenamePlugin extends Plugin {
fileName: activeFile.basename,
})
const meaninglessRegex = new RegExp(`[${this.settings.dupNumberDelimiter}\s]`, 'gm')
console.log('file', file)

return {
stem,
Expand Down

0 comments on commit 5765eae

Please sign in to comment.