From 26fedd00319143b50e740f59d246cc24a4b124e2 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 22 Dec 2022 16:59:42 +0000 Subject: [PATCH 1/1] Fix eslint warnings --- .../javascripts/index/directions/fossgis_valhalla.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/directions/fossgis_valhalla.js b/app/assets/javascripts/index/directions/fossgis_valhalla.js index c897a3b16..62afb4e4a 100644 --- a/app/assets/javascripts/index/directions/fossgis_valhalla.js +++ b/app/assets/javascripts/index/directions/fossgis_valhalla.js @@ -30,7 +30,13 @@ function FOSSGISValhallaEngine(id, costing) { 11, // kRoundaboutExit = 27; 17, // kFerryEnter = 28; 0, // kFerryExit = 29; - ...Array(7).fill(), // irrelevant transit maneuvers + undefined, // kTransit = 30; + undefined, // kTransitTransfer = 31; + undefined, // kTransitRemainOn = 32; + undefined, // kTransitConnectionStart = 33; + undefined, // kTransitConnectionTransfer = 34; + undefined, // kTransitConnectionDestination = 35; + undefined, // kPostTransitConnectionDestination = 36; 21, // kMergeRight = 37; 20 // kMergeLeft = 38; ]; -- 2.39.5