diff options
Diffstat (limited to 'src/tools/resync-remote-user.ts')
| -rw-r--r-- | src/tools/resync-remote-user.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/resync-remote-user.ts b/src/tools/resync-remote-user.ts index 497bb89f36..c30b645725 100644 --- a/src/tools/resync-remote-user.ts +++ b/src/tools/resync-remote-user.ts @@ -10,17 +10,17 @@ export default () => { // get args const args = process.argv.slice(3); let acct = args[0]; - + // normalize args acct = acct.replace(/^@/, ''); - + // check args if (!acct.match(/^\w+@\w/)) { throw `Invalid acct format. Valid format are user@host`; } - + console.log(`resync ${acct}`); - + main(acct).then(() => { console.log('Done'); process.exit(0); |