From 02c3c81f37c6cafdb3a1175582edf4b101b494a4 Mon Sep 17 00:00:00 2001 From: Todd Kennedy Date: Sun, 19 Jun 2016 11:38:36 -0700 Subject: [PATCH] Fix assert call for subscriptions --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 473f81e..5977eb8 100644 --- a/index.js +++ b/index.js @@ -84,7 +84,7 @@ function choo () { // react to actions (read-only) _models.forEach(function (model) { if (model.subscriptions) { - assert.ok(Array.isArray(model.subscriptions, 'subs must be an array')) + assert.ok(Array.isArray(model.subscriptions), 'subs must be an array') model.subscriptions.forEach(function (sub) { sub(send) })