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() {
|
||||
const filename = composeFilename()
|
||||
try {
|
||||
fs.copyFileSync("../../hosting/docker-compose.yaml", `./${filename}`)
|
||||
//await downloadFile(COMPOSE_URL, `./${filename}`)
|
||||
await downloadFile(COMPOSE_URL, `./${filename}`)
|
||||
} catch (err) {
|
||||
console.error(error(`Failed to retrieve compose file - ${err}`))
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
async function checkMigrationsFinished() {
|
||||
let totalWaitMs = 0
|
||||
// eslint-disable-next-line no-constant-condition
|
||||
while (true) {
|
||||
const waitForMs = 5000 + Math.random() * 5000
|
||||
await new Promise(resolve => setTimeout(resolve, waitForMs))
|
||||
|
|
Loading…
Reference in New Issue