senecajs/seneca-user

View on GitHub

Showing 6 of 15 total issues

Avoid too many return statements within this function.
Open

        return {
          ok: false,
          why: 'handle-too-short',
          details: {
            handle: handle,
Severity: Major
Found in user.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return { ok: true, handle: handle }
    Severity: Major
    Found in user.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return { ok: true, user: user }
      Severity: Major
      Found in lib/update_user.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return {
                  ok: false,
                  why: 'handle-too-long',
                  details: {
                    handle: handle,
        Severity: Major
        Found in user.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return {
                    ok: false,
                    why: 'handle-exists',
                    details: { handle: handle },
                  }
          Severity: Major
          Found in user.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return out
            Severity: Major
            Found in lib/login_user.js - About 30 mins to fix
              Severity
              Category
              Status
              Source
              Language