update scripts

This commit is contained in:
Nolan Lawson 2018-03-05 20:53:52 -08:00
parent 5c38554a38
commit 832b61e3dd
2 changed files with 2 additions and 6 deletions

View File

@ -43,9 +43,4 @@ export async function restoreMastodonData () {
await reblogStatus('localhost:3000', accessToken, internalIdsToIds[action.boost])
}
}
}
restoreMastodonData().catch(err => {
console.error(err)
process.exit(1)
})
}

View File

@ -4,6 +4,7 @@ import childProcessPromise from 'child-process-promise'
import path from 'path'
import fs from 'fs'
import { waitForMastodonToStart } from './wait-for-mastodon-to-start'
import mkdirpCB from 'mkdirp'
const exec = childProcessPromise.exec
const spawn = childProcessPromise.spawn