Skip to content

Commit

Permalink
Remove rendundant initialization code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr0grog committed Jan 23, 2024
1 parent 4f15c59 commit 67e968b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/loglevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,6 @@
inheritedLevel = normalizeLevel(
defaultLogger ? defaultLogger.getLevel() : "WARN"
);
if (defaultLevel != null) {
defaultLevel = normalizeLevel(defaultLevel);
}
var initialLevel = getPersistedLevel();
if (initialLevel != null) {
userLevel = normalizeLevel(initialLevel);
Expand Down

0 comments on commit 67e968b

Please sign in to comment.