Skip to content

Commit

Permalink
fix: debug log filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Mar 30, 2022
1 parent 5fda95a commit 82a8ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PyMakr.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class PyMakr {

updateConfig(mode) {
this.log.level = this.log.levels[this.config.get().debug.logLevel];
this.log.filter = this.config.get().logFilter !== "" ? new RegExp(this.config.get().debug.logFilter) : "";
this.log.filter = this.config.get().debug.logFilter !== "" ? new RegExp(this.config.get().debug.logFilter) : "";
if (mode !== "silent") this.log.info("updated config:", this.config.get());
}

Expand Down

0 comments on commit 82a8ed0

Please sign in to comment.