getlackey/lackey-cms

View on GitHub
modules/cms/server/lib/dust/tweet.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function exports has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (dust) => {

  dust.helpers.tweet = function (chunk, context, bodies, params) {

    let
Severity: Minor
Found in modules/cms/server/lib/dust/tweet.js - About 1 hr to fix

    Function tweet has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      dust.helpers.tweet = function (chunk, context, bodies, params) {
    
        let
          data = context,
          account = params.account + '',
    Severity: Minor
    Found in modules/cms/server/lib/dust/tweet.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status