File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1- import { SpawnPromiseResult } from 'child-process-promise' ;
2-
31import * as processWrapper from '../../common/process' ;
42import * as config from '../../common/config' ;
53import * as credentials from './credentials' ;
@@ -33,7 +31,7 @@ function prefixRespository(target: string, type: SkopeoRepositoryType): string {
3331export async function pull (
3432 image : string ,
3533 destination : string ,
36- ) : Promise < SpawnPromiseResult > {
34+ ) : Promise < void > {
3735 const creds = await credentials . getSourceCredentials ( image ) ;
3836 const credentialsParameters = getCredentialParameters ( creds ) ;
3937
@@ -43,7 +41,7 @@ export async function pull(
4341 args . push ( { body : prefixRespository ( image , SkopeoRepositoryType . ImageRegistry ) , sanitise : false } ) ;
4442 args . push ( { body : prefixRespository ( destination , SkopeoRepositoryType . DockerArchive ) , sanitise : false } ) ;
4543
46- return processWrapper . exec ( 'skopeo' , ...args ) ;
44+ processWrapper . exec ( 'skopeo' , ...args ) ;
4745}
4846
4947export function getCredentialParameters ( credentials : string | undefined ) : Array < processWrapper . IProcessArgument > {
You can’t perform that action at this time.
0 commit comments