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

Depend on hubot only development #5

Merged
merged 1 commit into from
Apr 8, 2014

Conversation

tricknotes
Copy link
Contributor

npm loads the different hubot from the following:

  • ./node_modules/hubot
  • ./node_modules/hubot-idobata/node_modules/hubot

This cause instance mismatch using instanceof

That's only ./node_modules/hubot we need.
If ./node_modules/hubot-idobata/node_modules/hubot is exist,
hubot-idobata wouldn't respond any message.

Fix #1

`npm` loads the different hubot from the following:
* `./node_modules/hubot`
* `./node_modules/hubot-idobata/node_modules/hubot`

This cause instance mismatch using `instanceof`
* https://github.com/github/hubot/blob/v2.7.2/src/listener.coffee#L42

That's only `./node_modules/hubot` we need.
If `./node_modules/hubot-idobata/node_modules/hubot` is exist,
hubot-idobata wouldn't respond any message.

Fix #1
tricknotes added a commit that referenced this pull request Apr 8, 2014
@tricknotes tricknotes merged commit d58bc82 into master Apr 8, 2014
@tricknotes tricknotes deleted the fix-incorrect-hubot-dependency branch April 8, 2014 13:16
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.

hubot-idobata can't response to message
1 participant