electron tweaks

This commit is contained in:
azivner
2017-11-05 18:31:22 -05:00
parent b890c9982b
commit 232ace0c3f
3 changed files with 7 additions and 7 deletions

2
app.js
View File

@@ -20,8 +20,6 @@ const db = require('sqlite');
db.open(dataDir.DOCUMENT_PATH, { Promise }).then(async () => {
const tableResults = await sql.getResults("SELECT name FROM sqlite_master WHERE type='table' AND name='notes'");
console.log(tableResults);
if (tableResults.length !== 1) {
console.log("No connection to initialized DB.");
process.exit(1);