fix: empty background restore after reboot (#1379)

This commit is contained in:
taoso
2026-03-27 01:33:30 +08:00
committed by GitHub
parent fc52bd4efb
commit 724c41cb7a
2 changed files with 14 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ function compareExports(dir1: string, dir2: string): void {
const hashes2 = hashAllFiles(dir2);
const files1 = Object.keys(hashes1).sort();
const files2 = Object.keys(hashes2).sort();
const files2 = Object.keys(hashes2).sort().filter(p => !p.includes('.inited'));
expect(files2).toEqual(files1);
for (const file of files1) {