From 970cb199d1647853c62f6ce0a56bbe96c9e766d7 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.comā©> Date: Mon, 28 Oct 2024 20:48:59 +0100 Subject: [PATCH] usgs: add FIXME comment re `data` The logic for passing data around seems to be broken to me. --- apps/lint_exemptions.js | 2 +- apps/usgs/settings.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/lint_exemptions.js b/apps/lint_exemptions.js index 3bcbf6fd3..1b3a3cc11 100644 --- a/apps/lint_exemptions.js +++ b/apps/lint_exemptions.js @@ -528,7 +528,7 @@ module.exports = { ] }, "apps/usgs/settings.js": { - "hash": "af1b7bc7e041c1e6988b407b6c8ee66dbd6a0e181a20caf102d2abdb6dbd5ac0", + "hash": "00ee672a6920f5667bfbd2988fd2853cfd579895a843ae036a00028dcb13878d", "rules": [ "no-undef" ] diff --git a/apps/usgs/settings.js b/apps/usgs/settings.js index 448e178d8..710d071ea 100644 --- a/apps/usgs/settings.js +++ b/apps/usgs/settings.js @@ -19,6 +19,9 @@ } function popSubMenu() { + // FIXME: Linter complains that `data` is not defined. When I defined it + // instead complained that it's not used (no-unused-vars). + // Also looking at `getDataStreams` it doesn't return anything so this seems wrong. data = getDataStreams(); } function popSubMenuData(data) {