Skip to content

fix: append error cause when using logger.child() (#2467) #941

fix: append error cause when using logger.child() (#2467)

fix: append error cause when using logger.child() (#2467) #941

Triggered via push December 7, 2025 07:25
Status Success
Total duration 1m 16s
Artifacts

ci.yml

on: push
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Tests (18): lib/winston/transports/file.js#L393
'options' is already declared in the upper scope on line 278 column 9
Tests (18): lib/winston/transports/file.js#L332
'buff' is already declared in the upper scope on line 286 column 9
Tests (18): lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (18): lib/winston/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (18): lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
Tests (18): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
Tests (18): lib/winston/logger.js#L230
Method 'log' has a complexity of 13. Maximum allowed is 11
Tests (18): lib/winston/logger.js#L230
Method 'log' has too many statements (27). Maximum allowed is 15
Tests (18): lib/winston/logger.js#L82
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (18): lib/winston/logger.js#L82
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (16): lib/winston/transports/file.js#L393
'options' is already declared in the upper scope on line 278 column 9
Tests (16): lib/winston/transports/file.js#L332
'buff' is already declared in the upper scope on line 286 column 9
Tests (16): lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (16): lib/winston/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (16): lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
Tests (16): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
Tests (16): lib/winston/logger.js#L230
Method 'log' has a complexity of 13. Maximum allowed is 11
Tests (16): lib/winston/logger.js#L230
Method 'log' has too many statements (27). Maximum allowed is 15
Tests (16): lib/winston/logger.js#L82
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (16): lib/winston/logger.js#L82
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (20): lib/winston/transports/file.js#L393
'options' is already declared in the upper scope on line 278 column 9
Tests (20): lib/winston/transports/file.js#L332
'buff' is already declared in the upper scope on line 286 column 9
Tests (20): lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (20): lib/winston/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (20): lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
Tests (20): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
Tests (20): lib/winston/logger.js#L230
Method 'log' has a complexity of 13. Maximum allowed is 11
Tests (20): lib/winston/logger.js#L230
Method 'log' has too many statements (27). Maximum allowed is 15
Tests (20): lib/winston/logger.js#L82
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (20): lib/winston/logger.js#L82
Method 'configure' has too many statements (24). Maximum allowed is 15