1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/packages/lib/services/synchronizer/migrations/1.ts

11 lines
282 B
TypeScript

// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
export default async function(api: any) {
await Promise.all([
api.mkdir('.resource'),
api.mkdir('.sync'),
api.mkdir('.lock'),
]);
await api.put('.sync/version.txt', '1');
}