Skip to content

Allow passing a logger to commands #13

@Reinmar

Description

@Reinmar

That would allow avoiding sth like this:

.then( () => {
	return execCommand.execute( execOptions( `git checkout ${ repository.branch }` ) );
} )
.then( ( response ) => {
	log.concat( response.logs );
} )
.then( () => {
	return execCommand.execute( execOptions( `git pull origin ${ repository.branch }` ) );
} )
.then( ( response ) => {
	log.concat( response.logs );
} )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions