1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/CliClient/tests/support/createSyncTargetSnapshot.js

8 lines
219 B
JavaScript
Raw Normal View History

2020-07-25 12:38:43 +02:00
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);
});