Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kometenstaub committed Sep 16, 2021
1 parent 5fe2167 commit d8bbf7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default class BridgePlugin extends Plugin {
path = this.getAbsoluteDumpPath(fileName);
}


let tagsCache: Array<{ name: string, tags: string[] }> = [];

(async () => {
Expand Down Expand Up @@ -89,7 +88,7 @@ export default class BridgePlugin extends Plugin {
if (!this.settings.metadataPath) {
path = this.getAbsoluteDumpPath(fileName);
}
let metadataCache: { fileName: string, relativePath: string, tags: string[], headings: string[], aliases: string[] }[] = [];
let metadataCache: { fileName: string, relativePath: string, tags: string[], headings: string[], aliases: string[] }[] = [];

(async () => {
const fileCache = await Promise.all(
Expand Down Expand Up @@ -120,7 +119,7 @@ export default class BridgePlugin extends Plugin {
})
}

metadataCache.push({ fileName: displayName, relativePath: relativeFilePath, tags: currentTags, headings: currentHeadings, aliases: currentFrontmatter })
metadataCache.push({ fileName: displayName, relativePath: relativeFilePath, tags: currentTags, headings: currentHeadings, aliases: currentFrontmatter })


}))
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "launcher-bridge",
"name": "Launcher Bridge",
"version": "0.0.1",
"version": "0.0.2",
"minAppVersion": "0.12.15",
"description": "This plugin provides a bridge for Launchers like Alfred and Ulauncher to read certain parts of the metadata cache.",
"author": "kometenstaub",
Expand Down

0 comments on commit d8bbf7c

Please sign in to comment.