Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shazib committed Jul 1, 2023
1 parent ff05385 commit a4dca24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Database from 'better-sqlite3';

import { v4 as uuidv4 } from 'uuid';

import { removeFile, readFile } from '../fs';

function verifyParamTypes(sql, arr) {
Expand Down Expand Up @@ -105,7 +105,7 @@ export function closeDatabase(db) {

export async function exportDatabase(db) {
// electron does not support better-sqlite serialize since v21
// save to file and read in the raw data.
// save to file and read in the raw data.
let name = `backup-for-export-${uuidv4()}.db`;

await db.backup(name);
Expand Down

0 comments on commit a4dca24

Please sign in to comment.