Skip to content

Commit

Permalink
Clean up console logs + Prep 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Jun 19, 2021
1 parent a3210ee commit c12a79e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "breadcrumbs",
"name": "Breadcrumbs",
"version": "0.0.5",
"version": "0.0.6",
"minAppVersion": "0.12.5",
"description": "Visualise the hierarchy of your vault using a breadcrumb trail",
"author": "SkepticMystic",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "breadcrumbs-plugin",
"version": "0.0.5",
"version": "0.0.6",
"description": "Visualise the hierarchy of your vault using a breadcrumb trail",
"main": "main.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class BreadcrumbsView extends ItemView {
}
}
);
console.log(childParentArr);
// console.log(childParentArr);
return childParentArr;
}

Expand Down Expand Up @@ -255,7 +255,7 @@ class BreadcrumbsView extends ItemView {
let step = to;
const breadcrumbs: string[] = [];

console.log({ paths });
// console.log({ paths });
if (paths[step].distance === Infinity) {
return [
`No path to ${this.settings.indexNote} was found from the current note`,
Expand All @@ -273,9 +273,9 @@ class BreadcrumbsView extends ItemView {

async draw() {
const g = await this.initialiseGraph(this.settings);
console.log({ g });
// console.log({ g });
const crumbs = this.getBreadcrumbs(g);
console.log({ crumbs });
// console.log({ crumbs });
this.contentEl.empty();

if (crumbs[0].includes("No path to")) {
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"0.0.6": "0.12.5",
"0.0.5": "0.12.5",
"0.0.4": "0.12.5",
"0.0.3": "0.12.5",
Expand Down

0 comments on commit c12a79e

Please sign in to comment.