Skip to content

Commit b5a9684

Browse files
committed
Removed console.log statements which slipped in 2.1.1
Version bump before release
1 parent cc1429d commit b5a9684

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "custom-sort",
33
"name": "Custom File Explorer sorting",
4-
"version": "2.1.1",
4+
"version": "2.1.2",
55
"minAppVersion": "0.16.2",
66
"description": "Allows for manual and automatic, config-driven reordering and sorting of files and folders in File Explorer",
77
"author": "SebastianMC",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-custom-sort",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "Custom Sort plugin for Obsidian (https://obsidian.md)",
55
"main": "main.js",
66
"scripts": {

src/custom-sort/custom-sort.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,15 +372,13 @@ export const determineSortingGroup = function (entry: TFile | TFolder, spec: Cus
372372
switch (group.type) {
373373
case CustomSortGroupType.ExactPrefix:
374374
if (group.exactPrefix) {
375-
console.log(`Exact prefix check`)
376375
if (nameForMatching.startsWith(group.exactPrefix)) {
377376
determined = true;
378377
}
379378
} else { // regexp is involved
380379
const [matched, matchedGroup] = matchGroupRegex(group.regexPrefix!, nameForMatching)
381380
determined = matched
382381
derivedText = matchedGroup ?? derivedText
383-
console.log(`Exact regexp prefix check ${group.regexPrefix?.regex?.toString()} vs. ${nameForMatching} = ${matched}`)
384382
}
385383
break;
386384
case CustomSortGroupType.ExactSuffix:

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@
3535
"2.0.1": "0.16.2",
3636
"2.0.2": "0.16.2",
3737
"2.1.0": "0.16.2",
38-
"2.1.1": "0.16.2"
38+
"2.1.1": "0.16.2",
39+
"2.1.2": "0.16.2"
3940
}

0 commit comments

Comments
 (0)