rafaelrpinto/node-siba

View on GitHub

Showing 2 of 4 total issues

Function buildSIBABulletins has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function buildSIBABulletins(
  bulletin: AccommodationBulletin
): SOAPBulletins {
  const { hotelUnit, guests } = bulletin;

Severity: Minor
Found in src/siba.ts - About 1 hr to fix

    Function parseSIBAXMLResponse has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function parseSIBAXMLResponse(responseText: string): SIBAResponse {
      const soapResponse = xml2js(responseText, {
        compact: true,
        textKey: "value"
      });
    Severity: Minor
    Found in src/siba.ts - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language