update scripts
This commit is contained in:
parent
5c38554a38
commit
832b61e3dd
|
@ -43,9 +43,4 @@ export async function restoreMastodonData () {
|
||||||
await reblogStatus('localhost:3000', accessToken, internalIdsToIds[action.boost])
|
await reblogStatus('localhost:3000', accessToken, internalIdsToIds[action.boost])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
restoreMastodonData().catch(err => {
|
|
||||||
console.error(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
|
@ -4,6 +4,7 @@ import childProcessPromise from 'child-process-promise'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
import { waitForMastodonToStart } from './wait-for-mastodon-to-start'
|
import { waitForMastodonToStart } from './wait-for-mastodon-to-start'
|
||||||
|
import mkdirpCB from 'mkdirp'
|
||||||
|
|
||||||
const exec = childProcessPromise.exec
|
const exec = childProcessPromise.exec
|
||||||
const spawn = childProcessPromise.spawn
|
const spawn = childProcessPromise.spawn
|
||||||
|
|
Loading…
Reference in a new issue