Fix lint.

This commit is contained in:
Sam Rose 2024-06-25 11:01:29 +01:00
parent d83248e917
commit bb0a0ce109
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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}`))
} }

View File

@ -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))