From d448b61d68491b52c4f3e6ec10b35e345e837688 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Thu, 22 Aug 2024 21:20:13 -0700 Subject: [PATCH] update changes --- CHANGELOG.md | 14 ++------------ index.js | 2 -- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0175a93..abb6ec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,18 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ### [1.2.1] - 2024-08-22 -#### Added - -- - -#### Fixed - -- - -#### Changed - -- - +- fix: don't make a set from a set (happened when periodic_checks < 5), #9 +- chore: bump dep versions ### [1.2.0] - 2024-04-13 diff --git a/index.js b/index.js index 0eb17b3..103185d 100644 --- a/index.js +++ b/index.js @@ -68,8 +68,6 @@ exports.load_config = function () { // active zones if (this.cfg.main.periodic_checks < 5) { // all configured are enabled - // The original code is making a Set from the already existing Set created above. It leads to gibberish - //this.zones = new Set(...this.cfg.main.zones) this.zones = this.cfg.main.zones } else { this.zones = new Set() // populated by check_zones()