From a6839afc1f745d3bc3601a01a967988f9051ea77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 8 Nov 2019 13:57:41 +0100 Subject: [PATCH] electron-main: Use a capital letter for the seshat import. --- electron_app/src/electron-main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js index bd42316fef..175dc27158 100644 --- a/electron_app/src/electron-main.js +++ b/electron_app/src/electron-main.js @@ -39,7 +39,7 @@ const { migrateFromOldOrigin } = require('./originMigrator'); const windowStateKeeper = require('electron-window-state'); const Store = require('electron-store'); -const seshat = require('seshat-node'); +const Seshat = require('seshat-node'); const makeDir = require('make-dir'); if (argv["help"]) { @@ -223,7 +223,7 @@ ipcMain.on('ipcCall', async function(ev, payload) { let p = path.normalize(path.join(eventStorePath, args[0])); try { await makeDir(p); - eventIndex = new seshat(p); + eventIndex = new Seshat(p); console.log("Initialized event store"); } catch (e) { sendError(payload.id, e);