fix: ReferenceError join in user-store.ts
Some checks failed
Release Binaries / release (push) Has been cancelled
Some checks failed
Release Binaries / release (push) Has been cancelled
This commit is contained in:
@@ -127,7 +127,7 @@ export function ensureDefaultUsers(): UserRecord {
|
||||
|
||||
// NEW: Check if roman needs data migration (e.g. if he was created before migration logic was robust)
|
||||
const userDir = getUserDir(roman.id)
|
||||
const configPath = join(userDir, "config.json")
|
||||
const configPath = path.join(userDir, "config.json")
|
||||
let needsMigration = !existsSync(configPath)
|
||||
if (!needsMigration) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user