Skip to content

Commit

Permalink
Fix npm#6270: Chore: Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmealo committed Mar 22, 2023
1 parent 950ab3f commit 31c8774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/log-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class LogFiles {
}
}
} catch (e) {
// If the user has disabled writing to logs, they're not expecting warnings about log cleanup failures
// Disable cleanup failure warnings when log writing is disabled
if (this.#logsMax > 0) {
log.warn('logfile', 'error cleaning log files', e)
}
Expand Down

0 comments on commit 31c8774

Please sign in to comment.