Skip to content

Commit 28b25a9

Browse files
committed
Remove extra console logs
1 parent e00c5ce commit 28b25a9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ export default class MediaDbPlugin extends Plugin {
191191

192192
let fileContent = await this.generateMediaDbNoteContents(mediaTypeModel, attachFile);
193193

194-
console.log('Inside createMediaDbNote', fileContent);
195194
await this.createNote(this.mediaTypeManager.getFileName(mediaTypeModel), fileContent);
196195
} catch (e) {
197196
console.warn(e);
@@ -204,7 +203,6 @@ export default class MediaDbPlugin extends Plugin {
204203
let fileContent = '';
205204

206205
({fileMetadata, fileContent} = await this.attachFile(fileMetadata, fileContent, attachFile));
207-
console.log('Inside createYAML', attachFile);
208206
({fileMetadata, fileContent} = await this.attachTemplate(fileMetadata, fileContent, await this.mediaTypeManager.getTemplate(mediaTypeModel, this.app)));
209207

210208
fileContent = `---\n${this.settings.useCustomYamlStringifier ? YAMLConverter.toYaml(fileMetadata) : stringifyYaml(fileMetadata)}---` + fileContent;
@@ -229,7 +227,6 @@ export default class MediaDbPlugin extends Plugin {
229227
const regExp = new RegExp('^(---)\\n[\\s\\S]*\\n---');
230228
attachFileContent = attachFileContent.replace(regExp, '');
231229
fileContent += attachFileContent;
232-
console.log('Inside attachfile', fileContent);
233230

234231
return {fileMetadata: fileMetadata, fileContent: fileContent};
235232
}

0 commit comments

Comments
 (0)