We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04ddf3 commit 61926f1Copy full SHA for 61926f1
src/utilityObsidian.ts
@@ -166,10 +166,10 @@ export async function openFile(
166
/**
167
* If there is no existing tab which opened the file, return false, else return true.
168
*/
169
-export async function openExistingFileTab(
+export function openExistingFileTab(
170
app: App,
171
file: TFile,
172
-): Promise<boolean> {
+): boolean {
173
let leaf: WorkspaceLeaf | undefined = undefined;
174
175
app.workspace.iterateRootLeaves((m_leaf: WorkspaceLeaf) => {
0 commit comments