diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-04-27 17:49:14 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-04-27 17:49:14 +0300 |
commit | 212440862b0064e4903e126604f290856102c2ac (patch) | |
tree | 8ddb660ab5edccd6841a9504cb663f0a480f77cb | |
parent | 21e68f3e54b0253d3fef238a3c8fd20fc0d560d9 (diff) | |
download | wekan-212440862b0064e4903e126604f290856102c2ac.tar.gz wekan-212440862b0064e4903e126604f290856102c2ac.tar.bz2 wekan-212440862b0064e4903e126604f290856102c2ac.zip |
Fix lint errors of
https://github.com/wekan/wekan/pull/1611
Thanks to xet7 !
-rw-r--r-- | models/trelloCreator.js | 3 |
1 files changed, 1 insertions, 2 deletions
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 = { |