Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
;(async () => {
await pWaitFor(deployed, { interval: 15000 })
const { target_url: targetUrl } = await getSuccessfulDeployment()
consola.log(targetUrl)
return targetUrl
})()
export default async (): Promise => {
if (!(await isOnline())) {
const connectivityTimeout = setTimeout(showWaitDialog, 15000);
await pWaitFor(isOnline, {interval: 1000});
clearTimeout(connectivityTimeout);
}
};
export default async (): Promise => {
if (!(await isOnline())) {
const connectivityTimeout = setTimeout(showWaitDialog, 15000)
await pWaitFor(isOnline, { interval: 1000 })
clearTimeout(connectivityTimeout)
}
}