chore: apply remaining workspace formatting and updates

This commit is contained in:
2026-03-16 01:54:35 -07:00
parent 77c35c770d
commit a9e33618e7
82 changed files with 1530 additions and 736 deletions

View File

@@ -15,10 +15,7 @@ import { readFileSync, readdirSync, existsSync } from 'node:fs';
import { join } from 'node:path';
import Database from 'libsql';
const DB_PATH = join(
process.env.HOME ?? '~',
'.config/SubMiner/immersion.sqlite',
);
const DB_PATH = join(process.env.HOME ?? '~', '.config/SubMiner/immersion.sqlite');
function parsePositiveNumber(value: unknown): number | null {
if (typeof value !== 'number' || !Number.isFinite(value) || value <= 0) return null;