1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-23 18:53:36 +02:00

All: Fixed minor issue when logger not defined

This commit is contained in:
Laurent Cozic 2018-01-02 21:23:35 +01:00
parent 71e877d369
commit 7efeaa3a22

View File

@ -1,4 +1,5 @@
const { padLeft } = require('lib/string-utils.js'); const { padLeft } = require('lib/string-utils.js');
const { Logger } = require('lib/logger.js');
const { shim } = require('lib/shim.js'); const { shim } = require('lib/shim.js');
const Setting = require('lib/models/Setting.js'); const Setting = require('lib/models/Setting.js');
const MasterKey = require('lib/models/MasterKey'); const MasterKey = require('lib/models/MasterKey');
@ -18,6 +19,7 @@ class EncryptionService {
this.loadedMasterKeys_ = {}; this.loadedMasterKeys_ = {};
this.activeMasterKeyId_ = null; this.activeMasterKeyId_ = null;
this.defaultEncryptionMethod_ = EncryptionService.METHOD_SJCL; this.defaultEncryptionMethod_ = EncryptionService.METHOD_SJCL;
this.logger_ = new Logger();
this.headerTemplates_ = { this.headerTemplates_ = {
1: { 1: {