1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/CliClient/tests/support/createSyncTargetSnapshot.js
2020-07-25 11:38:43 +01: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);
});