Skip to content

Conversation

@sj26
Copy link
Contributor

@sj26 sj26 commented Nov 25, 2017

Add yarn install to built-in hooks.

Copy link
Contributor

@trotzig trotzig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but could you add a test for the hook as well? Something similar to https://github.com/brigade/overcommit/blob/master/spec/overcommit/hook/post_checkout/npm_install_spec.rb

@sj26
Copy link
Contributor Author

sj26 commented Nov 28, 2017

Oops, sorry I forgot specs! Added.

Copy link
Contributor

@trotzig trotzig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! The tests are a little repetitive, but I noticed other hooks do the same thing (e.g. npm-install) so we're all good. 👍

@trotzig trotzig merged commit 5b14615 into sds:master Jan 9, 2018
@trotzig
Copy link
Contributor

trotzig commented Jan 9, 2018

Sorry for the long turnover here. I completely forgot to check back...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants