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()