From 53d923a8d4979169cb48073d4ac0f595fc80e6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Kihlstr=C3=B6m?= Date: Sun, 18 Apr 2021 21:11:36 +0200 Subject: [PATCH] fix(config): Remove entity config error #592 (#593) --- src/buildConfig.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/buildConfig.js b/src/buildConfig.js index b24549d..b717fc6 100755 --- a/src/buildConfig.js +++ b/src/buildConfig.js @@ -23,8 +23,6 @@ const computeThresholds = (stops, type) => { }; export default (config) => { - if (config.entity) - throw new Error(`The "entity" option was removed, please use "entities".\n See ${URL_DOCS}`); if (!Array.isArray(config.entities)) throw new Error(`Please provide the "entities" option as a list.\n See ${URL_DOCS}`); if (config.line_color_above || config.line_color_below)