Fix lint.
This commit is contained in:
parent
d83248e917
commit
bb0a0ce109
|
@ -46,8 +46,7 @@ export function setServiceImage(service: string, image: string) {
|
||||||
export async function downloadDockerCompose() {
|
export async function downloadDockerCompose() {
|
||||||
const filename = composeFilename()
|
const filename = composeFilename()
|
||||||
try {
|
try {
|
||||||
fs.copyFileSync("../../hosting/docker-compose.yaml", `./${filename}`)
|
await downloadFile(COMPOSE_URL, `./${filename}`)
|
||||||
//await downloadFile(COMPOSE_URL, `./${filename}`)
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(error(`Failed to retrieve compose file - ${err}`))
|
console.error(error(`Failed to retrieve compose file - ${err}`))
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
async function checkMigrationsFinished() {
|
async function checkMigrationsFinished() {
|
||||||
let totalWaitMs = 0
|
let totalWaitMs = 0
|
||||||
|
// eslint-disable-next-line no-constant-condition
|
||||||
while (true) {
|
while (true) {
|
||||||
const waitForMs = 5000 + Math.random() * 5000
|
const waitForMs = 5000 + Math.random() * 5000
|
||||||
await new Promise(resolve => setTimeout(resolve, waitForMs))
|
await new Promise(resolve => setTimeout(resolve, waitForMs))
|
||||||
|
|
Loading…
Reference in New Issue