Skip to content

Commit

Permalink
fix: show only md-files to avoid binary files corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
theotheo committed Mar 6, 2024
1 parent 27d50d0 commit 594c794
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "belyalov-commander",
"name": "Belyalov Commander",
"version": "0.1.0",
"version": "0.1.1",
"minAppVersion": "0.15.0",
"description": "Note preview and management",
"author": "theotheo",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "belyalov-commander",
"version": "0.1.0",
"version": "0.1.1",
"description": "Note preview and management",
"scripts": {
"build": "tsc --build && tsx esbuild.config.ts production",
Expand Down
2 changes: 1 addition & 1 deletion src/FileManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class FileManager {
});
console.log(tFiles.length)

const names = tFiles.map((f) => f.path);
const names = (tFiles as TFile[]).filter((f) => f.extension === 'md').map((f) => f.path);

return names;
}
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"0.1.0": "0.15.0"
"0.1.0": "0.15.0",
"0.1.1": "0.15.0"
}

0 comments on commit 594c794

Please sign in to comment.