chore: lint

This commit is contained in:
izzy
2025-12-02 14:07:14 +00:00
parent 73a17bb58e
commit ae653f9bf5
2 changed files with 1 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ export class IntegrityRepository {
for await (const item of items) {
// no expectation of particularly bad filenames
// but they could potentially have a newline or quote character
yield `${item.id},${item.type},${item.assetId},${item.fileAssetId},"${item.path.replace(/"/g, '""')}"\n`;
yield `${item.id},${item.type},${item.assetId},${item.fileAssetId},"${item.path.replaceAll('"', '""')}"\n`;
}
}

View File

@@ -20,8 +20,6 @@ export const newAssetRepositoryMock = (): Mocked<RepositoryInterface<AssetReposi
getUploadAssetIdByChecksum: vitest.fn(),
getRandom: vitest.fn(),
getAllByDeviceId: vitest.fn(),
getAllAssetPaths: vitest.fn(),
getAllAssetFilePaths: vitest.fn(),
getLivePhotoCount: vitest.fn(),
getLibraryAssetCount: vitest.fn(),
updateAll: vitest.fn(),