From 212440862b0064e4903e126604f290856102c2ac Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 27 Apr 2018 17:49:14 +0300 Subject: Fix lint errors of https://github.com/wekan/wekan/pull/1611 Thanks to xet7 ! --- models/trelloCreator.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'models/trelloCreator.js') diff --git a/models/trelloCreator.js b/models/trelloCreator.js index 72af1f84..8920ff77 100644 --- a/models/trelloCreator.js +++ b/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 = { -- cgit v1.2.3-1-g7c22