File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments