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",
|
"id": "custom-sort",
|
||||||
"name": "Custom File Explorer sorting",
|
"name": "Custom File Explorer sorting",
|
||||||
"version": "2.1.1",
|
"version": "2.1.2",
|
||||||
"minAppVersion": "0.16.2",
|
"minAppVersion": "0.16.2",
|
||||||
"description": "Allows for manual and automatic, config-driven reordering and sorting of files and folders in File Explorer",
|
"description": "Allows for manual and automatic, config-driven reordering and sorting of files and folders in File Explorer",
|
||||||
"author": "SebastianMC",
|
"author": "SebastianMC",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "obsidian-custom-sort",
|
"name": "obsidian-custom-sort",
|
||||||
"version": "2.1.1",
|
"version": "2.1.2",
|
||||||
"description": "Custom Sort plugin for Obsidian (https://obsidian.md)",
|
"description": "Custom Sort plugin for Obsidian (https://obsidian.md)",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -372,7 +372,6 @@ export const determineSortingGroup = function (entry: TFile | TFolder, spec: Cus
|
||||||
switch (group.type) {
|
switch (group.type) {
|
||||||
case CustomSortGroupType.ExactPrefix:
|
case CustomSortGroupType.ExactPrefix:
|
||||||
if (group.exactPrefix) {
|
if (group.exactPrefix) {
|
||||||
console.log(`Exact prefix check`)
|
|
||||||
if (nameForMatching.startsWith(group.exactPrefix)) {
|
if (nameForMatching.startsWith(group.exactPrefix)) {
|
||||||
determined = true;
|
determined = true;
|
||||||
}
|
}
|
||||||
|
@ -380,7 +379,6 @@ export const determineSortingGroup = function (entry: TFile | TFolder, spec: Cus
|
||||||
const [matched, matchedGroup] = matchGroupRegex(group.regexPrefix!, nameForMatching)
|
const [matched, matchedGroup] = matchGroupRegex(group.regexPrefix!, nameForMatching)
|
||||||
determined = matched
|
determined = matched
|
||||||
derivedText = matchedGroup ?? derivedText
|
derivedText = matchedGroup ?? derivedText
|
||||||
console.log(`Exact regexp prefix check ${group.regexPrefix?.regex?.toString()} vs. ${nameForMatching} = ${matched}`)
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CustomSortGroupType.ExactSuffix:
|
case CustomSortGroupType.ExactSuffix:
|
||||||
|
|
|
@ -35,5 +35,6 @@
|
||||||
"2.0.1": "0.16.2",
|
"2.0.1": "0.16.2",
|
||||||
"2.0.2": "0.16.2",
|
"2.0.2": "0.16.2",
|
||||||
"2.1.0": "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