1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/packages/app-cli/tests/support/createSyncTargetSnapshot.js
2020-11-05 16:58:23 +00:00

8 lines
219 B
JavaScript

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