mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Adding eslint to github actions
This commit is contained in:
@@ -923,7 +923,7 @@ export async function backupSqliteDatabase(src: string, dest: string,
|
||||
} finally {
|
||||
if (testProgress) { testProgress({action: 'close', phase: 'before'}); }
|
||||
try {
|
||||
if (db) { await fromCallback(cb => db.close(cb)); }
|
||||
if (db) { await fromCallback(cb => db!.close(cb)); }
|
||||
} catch (err) {
|
||||
_log.debug(null, `problem stopping copy of ${src} (${label}): ${err}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user