From d1ea90cd5c07f64b175e1d1127ae60674eb30d5c Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 12 Dec 2024 16:33:43 +0100 Subject: [PATCH] Chore: Clean up old debugging code in CLI --- packages/app-cli/app/gui/FolderListWidget.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/app-cli/app/gui/FolderListWidget.ts b/packages/app-cli/app/gui/FolderListWidget.ts index 863e2d7bc..5afc52b48 100644 --- a/packages/app-cli/app/gui/FolderListWidget.ts +++ b/packages/app-cli/app/gui/FolderListWidget.ts @@ -165,18 +165,14 @@ export default class FolderListWidget extends ListWidget { const wasSelectedItemId = this.selectedJoplinItemId; const previousParentType = this.notesParentType; - this.logger().info('FFFFFFFFFFFFF', JSON.stringify(this.folders, null, 4)); - // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied let newItems: any[] = []; const orderFolders = (parentId: string) => { - this.logger().info('PARENT', parentId); for (let i = 0; i < this.folders.length; i++) { const f = this.folders[i]; const originalParent = this.folders_.find(f => f.id === f.parent_id); const folderParentId = getDisplayParentId(f, originalParent); // f.parent_id ? f.parent_id : ''; - this.logger().info('FFF', f.title, folderParentId); if (folderParentId === parentId) { newItems.push(f); if (this.folderHasChildren_(this.folders, f.id)) orderFolders(f.id);