ahmadnassri/winston-tcp

View on GitHub

Showing 1 of 1 total issue

Function connect has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  connect () {
    /* istanbul ignore else */
    if (!this.connected) {
      /* istanbul ignore if */
      if (this.connectionAttempts >= this.options.reconnectAttempts) {
Severity: Minor
Found in lib/index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language