Skip to content

Save a reference to console methods in console transport #759

Save a reference to console methods in console transport

Save a reference to console methods in console transport #759

Triggered via pull request August 8, 2024 15:32
Status Success
Total duration 1m 28s
Artifacts

ci.yml

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

Annotations

31 warnings
Tests (18): lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (18): lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (18): lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
Tests (18): lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests (18): lib/winston/profiler.js#L51
Unnecessary semicolon
Tests (20): lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (18): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
Tests (20): lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (18): lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
Tests (20): lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
Tests (18): lib/winston/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (20): lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (18): lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (20): lib/winston/profiler.js#L51
Unnecessary semicolon
Tests (18): lib/winston/transports/file.js#L300
'buff' is already declared in the upper scope on line 254 column 9
Tests (20): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). 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/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (20): lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (20): lib/winston/transports/file.js#L300
'buff' is already declared in the upper scope on line 254 column 9
Tests (16): lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (16): lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (16): lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
Tests (16): lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (16): lib/winston/profiler.js#L51
Unnecessary semicolon
Tests (16): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). 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/transports/console.js#L52
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (16): lib/winston/transports/console.js#L52
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (16): lib/winston/transports/file.js#L300
'buff' is already declared in the upper scope on line 254 column 9