signmeup/signmeup

View on GitHub
imports/startup/server/migrations/4-clean-up-user-records.js

Summary

Maintainability
A
0 mins
Test Coverage

Function down has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  down() {
    Meteor.users
      .find({ "services.password": { $exists: true } })
      .forEach(user => {
        const profile = {};
Severity: Minor
Found in imports/startup/server/migrations/4-clean-up-user-records.js - About 1 hr to fix

    Function up has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

      up() {
        // Password users:
        // - Delete 'email' if exists
        // - Move 'profile.name' to 'user.preferredName', empty profile
        Meteor.users
    Severity: Minor
    Found in imports/startup/server/migrations/4-clean-up-user-records.js - About 1 hr to fix

      Unknown word (CssSyntaxError)
      Open

      import { Meteor } from "meteor/meteor";

      There are no issues that match your filters.

      Category
      Status