From b5a9684f5616789002362cacf3e0e0f691f6fe61 Mon Sep 17 00:00:00 2001 From: SebastianMC <23032356+SebastianMC@users.noreply.github.com> Date: Fri, 24 Nov 2023 18:59:15 +0100 Subject: [PATCH] Removed console.log statements which slipped in 2.1.1 Version bump before release --- manifest.json | 2 +- package.json | 2 +- src/custom-sort/custom-sort.ts | 2 -- versions.json | 3 ++- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 588c5a3d..80fa364a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "custom-sort", "name": "Custom File Explorer sorting", - "version": "2.1.1", + "version": "2.1.2", "minAppVersion": "0.16.2", "description": "Allows for manual and automatic, config-driven reordering and sorting of files and folders in File Explorer", "author": "SebastianMC", diff --git a/package.json b/package.json index b4877c3e..ebf7b811 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-custom-sort", - "version": "2.1.1", + "version": "2.1.2", "description": "Custom Sort plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { diff --git a/src/custom-sort/custom-sort.ts b/src/custom-sort/custom-sort.ts index 5c2557f0..275f1633 100644 --- a/src/custom-sort/custom-sort.ts +++ b/src/custom-sort/custom-sort.ts @@ -372,7 +372,6 @@ export const determineSortingGroup = function (entry: TFile | TFolder, spec: Cus switch (group.type) { case CustomSortGroupType.ExactPrefix: if (group.exactPrefix) { - console.log(`Exact prefix check`) if (nameForMatching.startsWith(group.exactPrefix)) { determined = true; } @@ -380,7 +379,6 @@ export const determineSortingGroup = function (entry: TFile | TFolder, spec: Cus const [matched, matchedGroup] = matchGroupRegex(group.regexPrefix!, nameForMatching) determined = matched derivedText = matchedGroup ?? derivedText - console.log(`Exact regexp prefix check ${group.regexPrefix?.regex?.toString()} vs. ${nameForMatching} = ${matched}`) } break; case CustomSortGroupType.ExactSuffix: diff --git a/versions.json b/versions.json index 2e5b2e76..318ac53d 100644 --- a/versions.json +++ b/versions.json @@ -35,5 +35,6 @@ "2.0.1": "0.16.2", "2.0.2": "0.16.2", "2.1.0": "0.16.2", - "2.1.1": "0.16.2" + "2.1.1": "0.16.2", + "2.1.2": "0.16.2" }