Skip to content

Commit 365afe1

Browse files
committed
fix eslint
1 parent 0df51aa commit 365afe1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/utils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,15 +513,15 @@ export class Utils {
513513
"--network", gclRegistryNet,
514514
"--entrypoint", "sh",
515515
"curlimages/curl",
516-
"-c", `until [ "$(curl -s -o /dev/null -k -w "%{http_code}" https://${this.gclRegistryPrefix}:443)" = "200" ]; do sleep 1; done;`
516+
"-c", `until [ "$(curl -s -o /dev/null -k -w "%{http_code}" https://${this.gclRegistryPrefix}:443)" = "200" ]; do sleep 1; done;`,
517517
], {
518-
timeout: 4000
518+
timeout: 4000,
519519
});
520520
} catch (err) {
521+
await this.stopDockerRegistry(argv.containerExecutable);
521522
if ((err as ExecaError).timedOut) {
522-
throw 'local docker registry port check timed out';
523+
throw "local docker registry port check timed out";
523524
}
524-
await this.stopDockerRegistry(argv.containerExecutable);
525525
throw err;
526526
}
527527
}

0 commit comments

Comments
 (0)