remove old attachment storagePath log message

This commit is contained in:
Martin Filser 2022-03-10 23:16:40 +01:00
parent bfef9fc14d
commit 1f277af722

View file

@ -85,7 +85,6 @@ if (Meteor.isServer) {
Meteor.startup(() => {
Attachments.collection._ensureIndex({ 'meta.cardId': 1 });
const storagePath = Attachments.storagePath();
console.log("Meteor.startup check storagePath: ", storagePath);
if (!fs.existsSync(storagePath)) {
console.log("create storagePath because it doesn't exist: " + storagePath);
fs.mkdirSync(storagePath, { recursive: true });