Skip to content

Commit

Permalink
make check explicit
Browse files Browse the repository at this point in the history
Co-authored-by: James Sumners <[email protected]>
  • Loading branch information
todor-a and jsumners authored Dec 10, 2024
1 parent eb83df0 commit b270ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function pinoLogger (opts, stream) {
if (!res.log) {
res.log = responseLogger
}
if (!Array.isArray(res.allLogs)) {
if (Array.isArray(res.allLogs) === false) {
res.allLogs = []
}
res.allLogs.push(responseLogger)
Expand Down

0 comments on commit b270ddd

Please sign in to comment.