diff --git a/src/electron/frontend/core/globals.js b/src/electron/frontend/core/globals.js index 51af1f821..b9eb7eab4 100644 --- a/src/electron/frontend/core/globals.js +++ b/src/electron/frontend/core/globals.js @@ -35,7 +35,9 @@ export const testDataFolderPath = joinPath(appDirectory, ...paths.subfolders.tes // Encryption const IV_LENGTH = 16; const KEY_LENGTH = 32; -export const ENCRYPTION_KEY = isElectron ? Buffer.concat([Buffer.from(appDirectory), Buffer.alloc(KEY_LENGTH)], KEY_LENGTH) : "" +export const ENCRYPTION_KEY = isElectron + ? Buffer.concat([Buffer.from(appDirectory), Buffer.alloc(KEY_LENGTH)], KEY_LENGTH) + : ""; export const ENCRYPTION_IV = isElectron ? crypto.randomBytes(IV_LENGTH) : "";