rafaelrpinto/node-siba

View on GitHub
src/siba.ts

Summary

Maintainability
A
2 hrs
Test Coverage

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

      There are no issues that match your filters.

      Category
      Status