1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/app-cli/tests/support/createSyncTargetSnapshot.js
2021-08-07 12:22:37 +01:00

8 lines
239 B
JavaScript

const { main } = require('@joplin/lib/testing/syncTargetUtils');
const syncTargetType = process.argv.length <= 2 ? 'normal' : process.argv[2];
main(syncTargetType).catch((error) => {
console.error('Error:', error);
process.exit(1);
});