Removed console.log statements which slipped in 2.1.1
Version bump before release
This commit is contained in:
parent
cc1429d43f
commit
b5a9684f56
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue