Skip to content

Commit

Permalink
update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Aug 23, 2024
1 parent 84a4163 commit d448b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 2 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d448b61

Please sign in to comment.