From f597c0e4f822a72c92ebbc88c419213e8cfd3bed Mon Sep 17 00:00:00 2001 From: siiky Date: Fri, 25 Oct 2024 18:01:04 +0100 Subject: [PATCH] chore: remove dead code --- lib/plugins.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/plugins.js b/lib/plugins.js index 1abb0489..c56f996d 100644 --- a/lib/plugins.js +++ b/lib/plugins.js @@ -695,9 +695,6 @@ function plugins (settings, deviceId) { const denominationRecycler6 = cashOutConfig.recycler6 const cashOutEnabled = cashOutConfig.active const isUnitLow = (have, max, limit) => cashOutEnabled && ((have / max) * 100) < limit - // const isUnitHigh = (have, max, limit) => cashOutEnabled && ((have / max) * 100) > limit - - // const isUnitOutOfBounds = (have, max, lowerBound, upperBound) => isUnitLow(have, max, lowerBound) || isUnitHigh(have, max, upperBound) const notifications = configManager.getNotifications(null, device.deviceId, settings.config)