BelirafoN/asterisk-ami-connector

View on GitHub
lib/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createAmiConnection has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createAmiConnection(login, secret, connectionOptions){
    return new Promise((resolve, reject) => {

        let amiDataStream = new AmiEventsStream(),
            authCommand = {
Severity: Minor
Found in lib/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status