run eslint --fix .
This commit is contained in:
parent
011eddf97a
commit
0832ae57f5
10 changed files with 259 additions and 263 deletions
|
|
@ -4,8 +4,7 @@ import { JSONFile } from 'lowdb/node';
|
|||
import { datetime } from './util.js';
|
||||
|
||||
const datetime_UTCtoLocalTimezone = async file => {
|
||||
if (!existsSync(file))
|
||||
return console.error('File does not exist:', file);
|
||||
if (!existsSync(file)) return console.error('File does not exist:', file);
|
||||
const db = new Low(new JSONFile(file));
|
||||
await db.read();
|
||||
db.data ||= {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue