rename .js to .ts and remove console.logs statements
This commit is contained in:
@@ -20,10 +20,6 @@ db.exec(checkInsertSQLStmt);
|
||||
|
||||
let usersSQLStmt = `SELECT * FROM USERS`;
|
||||
let SQLStatement = db.prepare(usersSQLStmt);
|
||||
console.log(`\n`, `*** Users table`);
|
||||
for (const usr of SQLStatement.iterate()) {
|
||||
console.log(`[r] ${usr.name} + ${usr.pw}`);
|
||||
}
|
||||
|
||||
// cases table
|
||||
|
||||
@@ -37,9 +33,5 @@ db.exec(createSQLStmt);
|
||||
|
||||
let casesSQLStmt = `SELECT * FROM cases`;
|
||||
SQLStatement = db.prepare(casesSQLStmt);
|
||||
console.log(`\n`, `*** Cases table`);
|
||||
for (const usr of SQLStatement.iterate()) {
|
||||
console.log(`[r] ${usr.name} + ${usr.token} + ${usr.pw}`);
|
||||
}
|
||||
|
||||
db.close();
|
||||
Reference in New Issue
Block a user