Don't intialize unused variable
This commit is contained in:
parent
0722c8cda7
commit
570795b832
2
index.js
2
index.js
@ -1,6 +1,6 @@
|
|||||||
let fs = require("fs");
|
let fs = require("fs");
|
||||||
function loadDB(databaseFile) {
|
function loadDB(databaseFile) {
|
||||||
let _db, db;
|
let _db;
|
||||||
if (fs.existsSync(databaseFile)) {
|
if (fs.existsSync(databaseFile)) {
|
||||||
_db = JSON.parse(fs.readFileSync(databaseFile, "utf8"));
|
_db = JSON.parse(fs.readFileSync(databaseFile, "utf8"));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user