Skip to content

Commit

Permalink
fix: fixed acorn lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Apr 20, 2024
1 parent 94c38a8 commit b98f51f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helpers/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ for (const level of logger.config.levels) {
if (hash) meta.app.hash = hash;

if (
meta?.ignore_hook === true ||
err?.is_duplicate_log === true ||
err?.ignoreHook === true
(meta && meta.ignore_hook === true) ||
(err && err.is_duplicate_log === true) ||
(err && err.ignoreHook === true)
)
meta[silentSymbol] = true;

Expand Down

0 comments on commit b98f51f

Please sign in to comment.