Kaynağa Gözat

Fix lint errors of
https://github.com/wekan/wekan/pull/1611

Thanks to xet7 !

Lauri Ojansivu 7 yıl önce
ebeveyn
işleme
212440862b
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      models/trelloCreator.js

+ 1 - 2
models/trelloCreator.js

@@ -430,8 +430,7 @@ export class TrelloCreator {
         // keep track of Trello id => WeKan id
         this.checklists[checklist.id] = checklistId;
         // Now add the items to the checklistItems
-        var counter = 0;
-        const itemsToCreate = [];
+        let counter = 0;
         checklist.checkItems.forEach((item) => {
           counter++;
           const checklistItemTocreate = {