Removed console.log statements which slipped in 2.1.1

Version bump before release
This commit is contained in:
SebastianMC 2023-11-24 18:59:15 +01:00
parent cc1429d43f
commit b5a9684f56
4 changed files with 4 additions and 5 deletions

View File

@ -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",

View File

@ -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": {

View File

@ -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:

View File

@ -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"
}