From 0b6b7e8a0dcad1e41d4e2f1709e270acf9afb9d1 Mon Sep 17 00:00:00 2001 From: parkerziegler Date: Mon, 19 Nov 2018 22:05:10 -0800 Subject: [PATCH] Gah. --- plugin/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/index.js b/plugin/index.js index 12ed936..1eddc1d 100644 --- a/plugin/index.js +++ b/plugin/index.js @@ -226,8 +226,8 @@ class DashboardPlugin { .then(datas => ({ type: INSPECTPACK_PROBLEM_TYPE, value: INSPECTPACK_PROBLEM_ACTIONS.reduce((memo, action, i) => Object.assign({}, memo, { - [action]: datas[i] }), - {}) + [action]: datas[i] + }), {}) })) .catch(err => ({ type: INSPECTPACK_PROBLEM_TYPE,