From 932b258467fd840167e2882f300cc75934e6fd9a Mon Sep 17 00:00:00 2001 From: Ross Keenan Date: Fri, 13 Aug 2021 12:43:30 +0200 Subject: [PATCH] refactor: :loud_sound: Update debug logs --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index db927bc5..069ed158 100644 --- a/src/main.ts +++ b/src/main.ts @@ -84,7 +84,7 @@ export default class BreadcrumbsPlugin extends Plugin { async refreshIndex() { this.currGraphs = await this.initGraphs(); - debug(this.settings, this.currGraphs); + debug(this.settings, { hierGs: this.currGraphs }); const activeView = this.getActiveMatrixView(); if (activeView) { await activeView.draw(); @@ -393,7 +393,7 @@ export default class BreadcrumbsPlugin extends Plugin { .filter((trail) => trail.length > 0) .sort((a, b) => a.length - b.length); - debug(this.settings, sortedTrails); + debug(this.settings, { sortedTrails }); return sortedTrails; }