chore: add eslint, remove dead variables, pin line endings (P0-4)
This commit is contained in:
@@ -64,7 +64,6 @@ function getTree(p) {
|
||||
}
|
||||
|
||||
const setNode = db.prepare('INSERT INTO nodes (path, data, ts) VALUES (?, ?, ?) ON CONFLICT(path) DO UPDATE SET data = excluded.data, ts = excluded.ts');
|
||||
const delExact = db.prepare('DELETE FROM nodes WHERE path = ?');
|
||||
const delTree = db.prepare('DELETE FROM nodes WHERE path = ? OR path LIKE ?');
|
||||
|
||||
function putTree(p, value) { // replace the whole subtree at p
|
||||
|
||||
Reference in New Issue
Block a user