Skip to content
Permalink
Browse files

fix(scripts): fix undefined dereference in marketing import

  • Loading branch information...
philbooth committed May 1, 2019
1 parent 8ddf7cc commit 2434d47e21098b30a419a247374606e41a8d86bd
Showing with 6 additions and 9 deletions.
  1. +1 −4 marketing.js
  2. +4 −4 package-lock.json
  3. +1 −1 package.json
@@ -24,10 +24,7 @@ if (! HMAC_KEY || ! API_KEY) {
module.exports.processStream = function processStream (stream) {
let eventCount = 0

const cargo = async.cargo(async (tasks, callback) => {
await send(tasks)
callback()
}, MAX_EVENTS_PER_BATCH)
const cargo = async.cargo(async tasks => await send(tasks), MAX_EVENTS_PER_BATCH)
cargo.concurrency = WORKERS

return new Promise(resolve => {

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -2,7 +2,7 @@
"name": "fxa-amplitude-send",
"version": "1.1.0",
"dependencies": {
"async": "^2.6.1",
"async": "^2.6.2",
"autodetect-decoder-stream": "^1.0.0",
"aws-sdk": "^2.270.1",
"bluebird": "^3.5.1",

0 comments on commit 2434d47

Please sign in to comment.
You can’t perform that action at this time.