Add test for user merging

This commit is contained in:
Cooldude2606 authored and Daniel committed 2024-11-22 04:06:34 -08:00
1 parent bdf02a5ea2
commit d80385c947
3 files changed
+66 -4

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ export default class UserManager {
lib.logger.warn(
`A total of ${duplicates} users were merged, a backup was written to: ${backupPath}`
);
await lib.safeOutputFile(backupPath, content);
await lib.safeOutputFile(backupPath, JSON.stringify(content, null, "\t"));
}
} catch (err: any) {