Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing a logger to commands #13

Open
Reinmar opened this issue Jan 14, 2017 · 1 comment
Open

Allow passing a logger to commands #13

Reinmar opened this issue Jan 14, 2017 · 1 comment

Comments

@Reinmar
Copy link
Member

Reinmar commented Jan 14, 2017

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 );
} )
@Reinmar
Copy link
Member Author

Reinmar commented Jan 24, 2017

#35 (comment) more here.

@pomek pomek self-assigned this Feb 14, 2017
@Mgsy Mgsy added this to the next milestone Jul 16, 2019
@pomek pomek removed their assignment Jul 17, 2019
@pomek pomek removed this from the nice-to-have milestone Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants