Merge pull request #4394 from ngenohkevin/fix/migrate-auth-secret-exit-on-empty

fix(migrate-auth-secret): exit cleanly when there are no 2FA records
This commit is contained in:
Mauricio Siu
2026-05-12 13:04:23 -06:00
committed by GitHub

View File

@@ -46,7 +46,7 @@ async function main() {
if (records.length === 0) {
console.log("✅ No 2FA records found, nothing to migrate.");
return;
process.exit(0);
}
console.log(`📦 Found ${records.length} 2FA record(s) to migrate.`);