style: apply prettier to the repo's declared format surface
This commit is contained in:
@@ -363,8 +363,7 @@ describe('database backup and restore', () => {
|
||||
const backupPath = join(directory, 'backup.sqlite');
|
||||
await backupDatabase(database, backupPath);
|
||||
// Windows keeps no POSIX mode bits; the 0600 guarantee is POSIX-only.
|
||||
if (process.platform !== 'win32')
|
||||
expect((await lstat(backupPath)).mode & 0o777).toBe(0o600);
|
||||
if (process.platform !== 'win32') expect((await lstat(backupPath)).mode & 0o777).toBe(0o600);
|
||||
database.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user