mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 23:01:09 +10:00
Refactoring
* replace TypeORM with Kysely query builder * refactor migrations * other changes and fixes
This commit is contained in:
@ -37,7 +37,9 @@ export class LocalDriver implements StorageDriver {
|
||||
try {
|
||||
return await fs.pathExists(this._fullPath(filePath));
|
||||
} catch (err) {
|
||||
throw new Error(`Failed to check file existence: ${(err as Error).message}`);
|
||||
throw new Error(
|
||||
`Failed to check file existence: ${(err as Error).message}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user