Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Buffer fix

  • Loading branch information...
commit b3d79ac71cc537c95f55fa2ff9a9ca7e13934856 1 parent 7cf462c
@FGRibreau authored
Showing with 3 additions and 1 deletion.
  1. +1 −0  .gitignore
  2. +1 −0  .npmignore
  3. +1 −1  bin/amqp-tool
View
1  .gitignore
@@ -10,3 +10,4 @@ dump.json
DS_STORE
todo.txt
.nide
+ok.json
View
1  .npmignore
@@ -1 +1,2 @@
.nide
+ok.json
View
2  bin/amqp-tool
@@ -115,7 +115,7 @@ function importQueue(conn, exchange, streamController){
return;
}
- exchange.publish(message[2].routingKey, new Buffer(message[0].data));
+ exchange.publish(message[2].routingKey, new Buffer(message[0] || ''));
if(argv.count && ++count == argv.count){
stopImport();
Please sign in to comment.
Something went wrong with that request. Please try again.