Skip to content
Browse files

Cirtical bug fix

  • Loading branch information...
1 parent 3581c96 commit de990f36d4f871b67bf4cd508f1dee5d7b4cde5e @FGRibreau committed Jan 28, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +2 −2 src/AmqpDsl.coffee
View
2 package.json
@@ -5,7 +5,7 @@
"amqp",
"dsl"
],
- "version": "1.0.2",
+ "version": "1.0.3",
"homepage": "https://github.com/FGRibreau/node-amqp-dsl",
"repository": "",
"dependencies": {
View
4 src/AmqpDsl.coffee
@@ -184,12 +184,12 @@ module.exports = class AmqpDsl
queue.openCallback(queueRef)
queue.bindTo.forEach((bind) ->
- {exchange, routingKey} = bind
+ [exchange, routingKey] = bind
queueRef.bind exchange, routingKey
)
queue.listenTo.forEach((listen) ->
- {option, listener} = listen
+ [option, listener] = listen
queueRef.subscribe option, listener
)

0 comments on commit de990f3

Please sign in to comment.
Something went wrong with that request. Please try again.