Fix lint errors back to eslint requirements.

This commit is contained in:
Lauri Ojansivu 2018-05-18 15:20:20 +03:00
parent ef99e6a6b1
commit 9b465bc98b
3 changed files with 96 additions and 96 deletions

View file

@ -167,9 +167,9 @@ Migrations.add('add-swimlanes', () => {
Cards.find({ boardId: board._id }).forEach((card) => {
if (!card.hasOwnProperty('swimlaneId')) {
Cards.direct.update(
{ _id: card._id },
{ $set: { swimlaneId } },
noValidate
{ _id: card._id },
{ $set: { swimlaneId } },
noValidate
);
}
});
@ -180,9 +180,9 @@ Migrations.add('add-views', () => {
Boards.find().forEach((board) => {
if (!board.hasOwnProperty('view')) {
Boards.direct.update(
{ _id: board._id },
{ $set: { view: 'board-view-swimlanes' } },
noValidate
{ _id: board._id },
{ $set: { view: 'board-view-swimlanes' } },
noValidate
);
}
});