1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/app-cli/tests/support/createSyncTargetSnapshot.js

8 lines
239 B
JavaScript
Raw Normal View History

const { main } = require('@joplin/lib/testing/syncTargetUtils');
2020-07-25 12:38:43 +02:00
const syncTargetType = process.argv.length <= 2 ? 'normal' : process.argv[2];
main(syncTargetType).catch((error) => {
console.error('Error:', error);
process.exit(1);
});