imports/startup/server/migrations/4-clean-up-user-records.js
Function down
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
down() {
Meteor.users
.find({ "services.password": { $exists: true } })
.forEach(user => {
const profile = {};
Function up
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
up() {
// Password users:
// - Delete 'email' if exists
// - Move 'profile.name' to 'user.preferredName', empty profile
Meteor.users
Unknown word (CssSyntaxError) Open
Open
import { Meteor } from "meteor/meteor";
- Exclude checks