Skip to content

Commit 3e79f8a

Browse files
Merge pull request #55 from AB1908/master
Remove extra console logs
2 parents 14719ef + 28b25a9 commit 3e79f8a

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
@@ -193,7 +193,6 @@ export default class MediaDbPlugin extends Plugin {
193193

194194
let fileContent = await this.generateMediaDbNoteContents(mediaTypeModel, attachFile);
195195

196-
console.log('Inside createMediaDbNote', fileContent);
197196
await this.createNote(this.mediaTypeManager.getFileName(mediaTypeModel), fileContent);
198197
} catch (e) {
199198
console.warn(e);
@@ -206,7 +205,6 @@ export default class MediaDbPlugin extends Plugin {
206205
let fileContent = '';
207206

208207
({fileMetadata, fileContent} = await this.attachFile(fileMetadata, fileContent, attachFile));
209-
console.log('Inside createYAML', attachFile);
210208
({fileMetadata, fileContent} = await this.attachTemplate(fileMetadata, fileContent, await this.mediaTypeManager.getTemplate(mediaTypeModel, this.app)));
211209

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

236233
return {fileMetadata: fileMetadata, fileContent: fileContent};
237234
}

0 commit comments

Comments
 (0)