Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Hotfix of setCommandAndCheckForExecutables#406

Merged
netmilk merged 1 commit intomasterfrom
honzajavorek/hotfix-of-setCommandAndCheckForExecutables
Mar 9, 2016
Merged

Hotfix of setCommandAndCheckForExecutables#406
netmilk merged 1 commit intomasterfrom
honzajavorek/hotfix-of-setCommandAndCheckForExecutables

Conversation

@honzajavorek
Copy link
Contributor

Method setCommandAndCheckForExecutables was stubbed in tests and was never executed, although in real world it is executed every time someone uses hooks. Since for different hook languages different parts of the method are summoned, it was easy for many if/else branches to slip through error/trials or tests.

Due to this it was possible that it contained a lot of typos and errors, such as callbacks being never called or missing 'this'.

I believe this fixes #404, fixes #393 and possibly it could be also a solution for #384, but so far I can't be sure yet.

Method setCommandAndCheckForExecutables was stubbed in tests and was never
executed, although in real world it is executed every time someone uses hooks.
Since for different hook languages different parts of the method are summoned,
it was easy for many if/else branches to slip through error/trials or tests.

Due to this it was possible that it contained a lot of typos and errors, such as
callbacks being never called or missing 'this'.
netmilk pushed a commit that referenced this pull request Mar 9, 2016
…ndAndCheckForExecutables

Hotfix of setCommandAndCheckForExecutables
@netmilk netmilk merged commit 26b4014 into master Mar 9, 2016
@honzajavorek honzajavorek deleted the honzajavorek/hotfix-of-setCommandAndCheckForExecutables branch March 9, 2016 13:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v1.0.6 possibly affects Codeship CI integration Hook Spawner Broken after commit

2 participants