Fix lint errors in lint error fix.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2020-04-22 21:00:31 +03:00
parent e7603298d7
commit 9e95c06415
9 changed files with 47 additions and 49 deletions

View file

@ -1,4 +1,4 @@
const DateString = Match.Where(function (dateAsString) {
const DateString = Match.Where(function(dateAsString) {
check(dateAsString, String);
return moment(dateAsString, moment.ISO_8601).isValid();
});
@ -299,13 +299,13 @@ export class TrelloCreator {
}
}
return true;
})
});
if (positiveVotes.length > 0) {
cardToCreate.vote = {
question: cardToCreate.title,
public: true,
positive: positiveVotes,
}
};
}
}
@ -369,7 +369,7 @@ export class TrelloCreator {
// so we make it server only, and let UI catch up once it is done, forget about latency comp.
const self = this;
if (Meteor.isServer) {
file.attachData(att.url, function (error) {
file.attachData(att.url, function(error) {
file.boardId = boardId;
file.cardId = cardId;
file.userId = self._user(att.idMemberCreator);