fix migration
This commit is contained in:
parent
6c37ee6a04
commit
ec328a6a25
|
@ -117,13 +117,6 @@ async function migrationV2ToV3(
|
|||
exportRecord: ExportRecordV2,
|
||||
updateExportRecord: UpdatedExportRecord
|
||||
) {
|
||||
addLocalLog(() => `migrationV2ToV3: ${JSON.stringify(exportRecord)}`);
|
||||
await extractExportDirPathPrefix(
|
||||
exportDir,
|
||||
exportRecord,
|
||||
updateExportRecord
|
||||
);
|
||||
addLocalLog(() => `migrationV2ToV3: ${JSON.stringify(exportRecord)}`);
|
||||
const user: User = getData(LS_KEYS.USER);
|
||||
const localFiles = await getLocalFiles();
|
||||
const personalFiles = getIDBasedSortedFiles(
|
||||
|
@ -140,6 +133,11 @@ async function migrationV2ToV3(
|
|||
updateExportRecord,
|
||||
getExportedFiles(personalFiles, exportRecord)
|
||||
);
|
||||
await extractExportDirPathPrefix(
|
||||
exportDir,
|
||||
exportRecord,
|
||||
updateExportRecord
|
||||
);
|
||||
}
|
||||
|
||||
export async function removeDeprecatedExportRecordProperties(
|
||||
|
|
Loading…
Reference in a new issue