mike-north/ember-api-actions

View on GitHub

Showing 1 of 3 total issues

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

export default function serializeAndPush(this: Model, response: any) {
  if (!isDocWithData(response)) {
    // tslint:disable-next-line:no-console
    console.warn(
      'serializeAndPush may only be used with a JSON API document. Ignoring response. ' +
Severity: Minor
Found in addon/utils/serialize-and-push.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language